[issue17707] Multiprocessing queue get method does not block for short timeouts
Giampaolo Rodola'
report at bugs.python.org
Sun Apr 14 23:39:48 CEST 2013
Giampaolo Rodola' added the comment:
Without using Decimal and without patching connections.py (hence q.get() returns immediately) the resulting delta is mismatched:
======================================================================
FAIL: test_timeout (__main__.WithProcessesTestQueue)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_multiprocessing.py", line 708, in test_timeout
self.assertGreaterEqual(delta, 0.19)
AssertionError: 9.107589721679688e-05 not greater than or equal to 0.19
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17707>
_______________________________________
More information about the Python-bugs-list
mailing list