Index: Lib/test/fork_wait.py |
=================================================================== |
--- Lib/test/fork_wait.py (revision 86567) |
+++ Lib/test/fork_wait.py (working copy) |
@@ -40,8 +40,8 @@ |
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 @@ |
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() |