diff options
Diffstat (limited to 'tests/test_using_api.py')
-rw-r--r-- | tests/test_using_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_using_api.py b/tests/test_using_api.py index 3d824f51..9e53c206 100644 --- a/tests/test_using_api.py +++ b/tests/test_using_api.py @@ -3,7 +3,7 @@ Pygments tests for using() ~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -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(): |