Author vstinner
Recipients vstinner
Date 2017-11-20.15:32:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The test failed on AMD64 FreeBSD 10.x Shared 3.x:

FAIL: test_put (test.test_multiprocessing_fork.WithProcessesTestQueue)
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/", line 809, in test_put
    self.assertEqual(queue_empty(queue), False)
AssertionError: True != False


I succeeded to reproduce the issue on Linux with this change:

diff --git a/Lib/test/ b/Lib/test/
index dbca2d89ed..0754ac0d52 100644
--- a/Lib/test/
+++ b/Lib/test/
@@ -804,7 +804,7 @@ class _TestQueue(BaseTestCase):
         # the values may be in buffer but not yet in pipe so sleep a bit
-        time.sleep(DELTA)
+        time.sleep(0)
         self.assertEqual(queue_empty(queue), False)
         self.assertEqual(queue_full(queue, MAXSIZE), True)
Date User Action Args
2017-11-20 15:32:21vstinnersetrecipients: + vstinner
2017-11-20 15:32:21vstinnersetmessageid: <>
2017-11-20 15:32:21vstinnerlinkissue32090 messages
2017-11-20 15:32:21vstinnercreate