Message 186955 - Python tracker (original) (raw)

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