From: Yury Selivanov Date: Wed, 2 Mar 2016 15:33:22 +0000 (-0500) Subject: asyncio: Update 3.4 asyncio/test_tasks to upstream version X-Git-Tag: v3.4.5rc1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90faa091528b8d23f7e0f178a8d2f5d512e26b62;p=thirdparty%2FPython%2Fcpython.git asyncio: Update 3.4 asyncio/test_tasks to upstream version --- diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 42e30a4d7638..c9d49f047c43 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())