diff options
Diffstat (limited to 'Lib/test/test_code.py')
-rw-r--r-- | Lib/test/test_code.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 1a8af0d..e1c7a78 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py @@ -128,9 +128,9 @@ class CodeTest(unittest.TestCase): def test_newempty(self): co = _testcapi.code_newempty("filename", "funcname", 15) - self.assertEquals(co.co_filename, "filename") - self.assertEquals(co.co_name, "funcname") - self.assertEquals(co.co_firstlineno, 15) + self.assertEqual(co.co_filename, "filename") + self.assertEqual(co.co_name, "funcname") + self.assertEqual(co.co_firstlineno, 15) class CodeWeakRefTest(unittest.TestCase): |