We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6c2ae commit 5f32678Copy full SHA for 5f32678
1 file changed
tests/test_misc.py
@@ -149,10 +149,10 @@ def do_not_run():
149
raise Exception("should not run")
150
151
async def cancel_sleep():
152
- h = loop.call_later(0.1, do_not_run)
153
- await asyncio.sleep(0.05, loop=loop)
+ h = loop.call_later(0.2, do_not_run)
+ await asyncio.sleep(0.1, loop=loop)
154
h.cancel()
155
- await asyncio.sleep(0.2, loop=loop)
+ await asyncio.sleep(0.3, loop=loop)
156
157
await loop.run_asyncio(cancel_sleep)
158
assert owch == 0
0 commit comments