Author vstinner
Recipients davin, martin.panter, pitrou, serhiy.storchaka, vstinner
Date 2017-07-24.16:23:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500913430.89.0.109606522646.issue26762@psf.upfronthosting.co.za>
In-reply-to
Content
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:
History
Date User Action Args
2017-07-24 16:23:50vstinnersetrecipients: + vstinner, pitrou, martin.panter, serhiy.storchaka, davin
2017-07-24 16:23:50vstinnersetmessageid: <1500913430.89.0.109606522646.issue26762@psf.upfronthosting.co.za>
2017-07-24 16:23:50vstinnerlinkissue26762 messages
2017-07-24 16:23:50vstinnercreate