Message298988
Antoine Pitrou: "I'm not able to reproduce. Can you try again with latest master?"
Oh, maybe I found why... There is a tearDownModule() function which hides bugs. Try following change:
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 88e2eb3..ae77468 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -4432,8 +4432,8 @@ def install_tests_in_module_dict(remote_globs, start_method):
def tearDownModule():
multiprocessing.set_start_method(old_start_method[0], force=True)
# pause a bit so we don't get warning about dangling threads/processes
- time.sleep(0.5)
- multiprocessing.process._cleanup()
+ # time.sleep(0.5)
+ # multiprocessing.process._cleanup()
gc.collect()
tmp = set(multiprocessing.process._dangling) - set(dangling[0])
if tmp: |
|
Date |
User |
Action |
Args |
2017-07-24 16:23:50 | vstinner | set | recipients:
+ vstinner, pitrou, martin.panter, serhiy.storchaka, davin |
2017-07-24 16:23:50 | vstinner | set | messageid: <1500913430.89.0.109606522646.issue26762@psf.upfronthosting.co.za> |
2017-07-24 16:23:50 | vstinner | link | issue26762 messages |
2017-07-24 16:23:50 | vstinner | create | |
|