diff options
Diffstat (limited to 'Lib/test/fork_wait.py')
-rw-r--r-- | Lib/test/fork_wait.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/fork_wait.py b/Lib/test/fork_wait.py index 7eb55f6..9c4df4b 100644 --- a/Lib/test/fork_wait.py +++ b/Lib/test/fork_wait.py @@ -51,8 +51,7 @@ class ForkWait(unittest.TestCase): time.sleep(LONGSLEEP) - a = self.alive.keys() - a.sort() + a = sorted(self.alive.keys()) self.assertEquals(a, range(NUM_THREADS)) prefork_lives = self.alive.copy() |