diff options
Diffstat (limited to 'Lib/test/fork_wait.py')
-rw-r--r-- | Lib/test/fork_wait.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/fork_wait.py b/Lib/test/fork_wait.py index 533c0c2..1caab1c 100644 --- a/Lib/test/fork_wait.py +++ b/Lib/test/fork_wait.py @@ -40,8 +40,8 @@ class ForkWait(unittest.TestCase): break time.sleep(2 * SHORTSLEEP) - self.assertEquals(spid, cpid) - self.assertEquals(status, 0, "cause = %d, exit = %d" % (status&0xff, status>>8)) + self.assertEqual(spid, cpid) + self.assertEqual(status, 0, "cause = %d, exit = %d" % (status&0xff, status>>8)) def test_wait(self): for i in range(NUM_THREADS): @@ -50,7 +50,7 @@ class ForkWait(unittest.TestCase): time.sleep(LONGSLEEP) a = sorted(self.alive.keys()) - self.assertEquals(a, list(range(NUM_THREADS))) + self.assertEqual(a, list(range(NUM_THREADS))) prefork_lives = self.alive.copy() |