Skip to content

Commit a13ebe2

Browse files
committed
asyncio: Update 3.4 asyncio/test_tasks to upstream version
1 parent 81b46e4 commit a13ebe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_asyncio/test_tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2352,7 +2352,8 @@ def go():
23522352
foo_running = False
23532353

23542354
dt = self.loop.time() - start
2355-
self.assertTrue(0.09 < dt < 0.11, dt)
2355+
# tolerate a small delta for slow delta or unstable clocks
2356+
self.assertTrue(0.09 < dt < 0.12, dt)
23562357
self.assertFalse(foo_running)
23572358

23582359
self.loop.run_until_complete(go())

0 commit comments

Comments
 (0)