diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-27 09:04:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 09:04:51 (GMT) |
commit | f15f66d275d1166839312c9ff3a67c00b486c7d6 (patch) | |
tree | d468225a841dc972a6f68541d750b75ce1db1c4c /Lib/multiprocessing/spawn.py | |
parent | ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec (diff) | |
download | cpython-f15f66d275d1166839312c9ff3a67c00b486c7d6.zip cpython-f15f66d275d1166839312c9ff3a67c00b486c7d6.tar.gz cpython-f15f66d275d1166839312c9ff3a67c00b486c7d6.tar.bz2 |
bpo-30317, test_multiprocessing: fix test_timeout() (GH-7957)
Tolerate a different of 50 ms, instead of just 30 ms, in
test_timeout() of multiprocessing tests. This change should fix such
test failure on Windows:
FAIL: test_timeout (test.test_multiprocessing_spawn.WithProcessesTestQueue)
Traceback (most recent call last):
File "lib\test\_test_multiprocessing.py", line 753, in test_timeout
self.assertGreaterEqual(delta, 0.170)
AssertionError: 0.16138982772827148 not greater than or equal to 0.17
Diffstat (limited to 'Lib/multiprocessing/spawn.py')
0 files changed, 0 insertions, 0 deletions