Commit 5659a72f authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-31008: Fix asyncio test_wait_for_handle on Windows (#3065)

parent 957d0e9b
......@@ -118,7 +118,9 @@ class ProactorTests(test_utils.TestCase):
self.assertEqual(done, False)
self.assertFalse(fut.result())
self.assertTrue(0.48 < elapsed < 0.9, elapsed)
# bpo-31008: Tolerate only 450 ms (at least 500 ms expected),
# because of bad clock resolution on Windows
self.assertTrue(0.45 <= elapsed <= 0.9, elapsed)
_overlapped.SetEvent(event)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment