summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-07-19 21:54:37 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-07-19 21:54:37 (GMT)
commite410f267f1c110d4e9738a0f36e2e27c0365278f (patch)
tree40e035c01ae463d559e5d8cddd09f9a955ac77e6 /Lib/test/test_multiprocessing.py
parent2c40f640d95542c7d63f8ce2d5c00c5381d8a5c3 (diff)
parent14f5ee0a62e59a25d03c51e282e6f3727d0ea34d (diff)
downloadcpython-e410f267f1c110d4e9738a0f36e2e27c0365278f.zip
cpython-e410f267f1c110d4e9738a0f36e2e27c0365278f.tar.gz
cpython-e410f267f1c110d4e9738a0f36e2e27c0365278f.tar.bz2
Merge.
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r--Lib/test/test_multiprocessing.py11
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()