summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-03-02 15:33:22 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-03-02 15:33:22 (GMT)
commit90faa091528b8d23f7e0f178a8d2f5d512e26b62 (patch)
tree253a7879fdf872ce0e7812c8b1006021b831e9fb /Lib/test
parent90ba2ca68a829991c0797fc27a26f2e697afa5e7 (diff)
downloadcpython-90faa091528b8d23f7e0f178a8d2f5d512e26b62.zip
cpython-90faa091528b8d23f7e0f178a8d2f5d512e26b62.tar.gz
cpython-90faa091528b8d23f7e0f178a8d2f5d512e26b62.tar.bz2
asyncio: Update 3.4 asyncio/test_tasks to upstream version
Diffstat (limited to 'Lib/test')
-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())