summaryrefslogtreecommitdiff
path: root/tests/test_using_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_using_api.py')
-rw-r--r--tests/test_using_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_using_api.py b/tests/test_using_api.py
index e645a881..83d3f18e 100644
--- a/tests/test_using_api.py
+++ b/tests/test_using_api.py
@@ -32,7 +32,7 @@ class UsingStateTest(unittest.TestCase):
expected = [(Text, 'a'), (String, '"'), (Keyword, 'bcd'),
(String, '"'), (Text, 'e\n')]
t = list(TestLexer().get_tokens('a"bcd"e'))
- self.assertEquals(t, expected)
+ self.assertEqual(t, expected)
def test_error(self):
def gen():