summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/_test_multiprocessing.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index f446ef3..749cf8c 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1039,9 +1039,10 @@ class _TestQueue(BaseTestCase):
start = time.time()
self.assertRaises(pyqueue.Empty, q.get, True, 0.200)
delta = time.time() - start
- # Tolerate a delta of 50 ms because of the bad clock resolution on
- # Windows (usually 15.6 ms)
- self.assertGreaterEqual(delta, 0.150)
+ # bpo-30317: Tolerate a delta of 100 ms because of the bad clock
+ # resolution on Windows (usually 15.6 ms). x86 Windows7 3.x once
+ # failed because the delta was only 135.8 ms.
+ self.assertGreaterEqual(delta, 0.100)
close_queue(q)
def test_queue_feeder_donot_stop_onexc(self):