diff options
author | Georg Brandl <georg@python.org> | 2012-03-11 08:17:52 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-03-11 08:17:52 +0100 |
commit | 6f8e79cdf72575dac0047deaf7b2a32540676198 (patch) | |
tree | e0ced08a2f775d7e8c9fc4d523566bc797fbcb43 /tests/test_using_api.py | |
parent | 9e80de2655ac91392e77fdb851cb8af940cff89d (diff) | |
download | pygments-6f8e79cdf72575dac0047deaf7b2a32540676198.tar.gz |
Fixes #748: clean up deprecation and resource warnings in the test suite when run with python3 -Wd.
Diffstat (limited to 'tests/test_using_api.py')
-rw-r--r-- | tests/test_using_api.py | 2 |
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(): |