diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-18 08:29:19 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-18 08:29:19 (GMT) |
| commit | 27e1240af584b9ce78c377bbbb8345ce36bb33aa (patch) | |
| tree | d1da170de6abc8e131748a409a9ae6d32033bd4d /Lib/test/test_asyncio/test_tasks.py | |
| parent | 791ac54a44c1d8c6ee03a3ef733ce04182b8637c (diff) | |
| parent | c1b578608ef397dcc7a64ff1228aa770e2b65cb2 (diff) | |
| download | cpython-27e1240af584b9ce78c377bbbb8345ce36bb33aa.zip cpython-27e1240af584b9ce78c377bbbb8345ce36bb33aa.tar.gz cpython-27e1240af584b9ce78c377bbbb8345ce36bb33aa.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.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 40e5f88..128b7ce 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -2395,7 +2395,9 @@ class TimeoutTests(test_utils.TestCase): resp = yield from long_running_task() self.assertEqual(resp, 'done') dt = self.loop.time() - t0 - self.assertTrue(0.09 < dt < 0.11, dt) + # tolerate a time delta for clocks with bad resolution + # and slow buildbots + self.assertTrue(0.09 < dt < 0.15, dt) self.loop.run_until_complete(go()) def test_raise_runtimeerror_if_no_task(self): |
