diff options
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r-- | Lib/test/test_posix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 902d16a..f9f9fce 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -105,7 +105,7 @@ class PosixTester(unittest.TestCase): try: posix.initgroups(name, 13) except OSError as e: - self.assertEquals(e.errno, errno.EPERM) + self.assertEqual(e.errno, errno.EPERM) else: self.fail("Expected OSError to be raised by initgroups") |