summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-02-01 11:41:24 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-02-01 11:41:24 (GMT)
commit58afd2551e3b957966e198a792dd03631ab631ec (patch)
tree2f078fe5200bfa5def10b4b2f5b811723c5087af /Lib/test/test_asyncio/test_tasks.py
parent7909411964fdc8f33111a1661704cc845a9c50c6 (diff)
parent0df5313458ed253e4a299b50c3b86156649c5a0f (diff)
downloadcpython-58afd2551e3b957966e198a792dd03631ab631ec.zip
cpython-58afd2551e3b957966e198a792dd03631ab631ec.tar.gz
cpython-58afd2551e3b957966e198a792dd03631ab631ec.tar.bz2
Merge 3.5 (test_asyncio)
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index 42e30a4..c9d49f0 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -2352,7 +2352,8 @@ class TimeoutTests(test_utils.TestCase):
foo_running = False
dt = self.loop.time() - start
- self.assertTrue(0.09 < dt < 0.11, dt)
+ # tolerate a small delta for slow delta or unstable clocks
+ self.assertTrue(0.09 < dt < 0.12, dt)
self.assertFalse(foo_running)
self.loop.run_until_complete(go())