mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Relax some asyncio test timeouts (http://bugs.python.org/issue19285).
This commit is contained in:
parent
ee1be99e05
commit
051a331488
2 changed files with 5 additions and 5 deletions
|
@ -121,7 +121,7 @@ class BaseEventLoopTests(unittest.TestCase):
|
|||
t0 = self.loop.time()
|
||||
self.loop.run_forever()
|
||||
t1 = self.loop.time()
|
||||
self.assertTrue(0.09 <= t1-t0 <= 0.12, t1-t0)
|
||||
self.assertTrue(0.09 <= t1-t0 <= 0.9, t1-t0)
|
||||
|
||||
def test_run_once_in_executor_handle(self):
|
||||
def cb():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue