diff options
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index adf64e7..e50cd53 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -111,8 +111,8 @@ class ImportTests(unittest.TestCase): if not os.path.exists(fn): raise TestFailed("__import__ did " "not result in creation of either a .pyc or .pyo file") s = os.stat(fn) - self.assertEquals(stat.S_IMODE(s.st_mode), - stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) + self.assertEqual(stat.S_IMODE(s.st_mode), + stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) finally: os.umask(oldmask) remove_files(TESTFN) |