diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index a484600..2a6381d 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -3590,14 +3590,17 @@ def setUpModule(): try: lock = multiprocessing.RLock() except OSError: - raise unittest.SkipTest("OSError raises on RLock creation, see issue 3111!") - + raise unittest.SkipTest("OSError raises on RLock creation, " + "see issue 3111!") check_enough_semaphores() - util.get_temp_dir() # creates temp directory for use by all processes - multiprocessing.get_logger().setLevel(LOG_LEVEL) +def tearDownModule(): + # pause a bit so we don't get warning about dangling threads/processes + time.sleep(0.5) + + if __name__ == '__main__': unittest.main() |