diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-08 11:19:06 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-08 11:19:06 (GMT) |
commit | 5da7e7959e6d3032a564eea68746e03764ed2f68 (patch) | |
tree | af901dac5b86423cde3d47e6a662fe113d19720c /Lib/test/test_threading.py | |
parent | 6f6f4865d138f2348889ccc08aa8b18ca0263e48 (diff) | |
download | cpython-5da7e7959e6d3032a564eea68746e03764ed2f68.zip cpython-5da7e7959e6d3032a564eea68746e03764ed2f68.tar.gz cpython-5da7e7959e6d3032a564eea68746e03764ed2f68.tar.bz2 |
Issue #18808 again: fix the after-fork logic for not-yet-started or already-stopped threads.
(AFAICT, in theory, we must reset all the locks, not just those in use)
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r-- | Lib/test/test_threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 79b10ed..58b0b4e 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -109,7 +109,7 @@ class ThreadTests(BaseTestCase): if verbose: print('waiting for all tasks to complete') for t in threads: - t.join(NUMTASKS) + t.join() self.assertTrue(not t.is_alive()) self.assertNotEqual(t.ident, 0) self.assertFalse(t.ident is None) |