Skip to content

Commit 5f32678

Browse files
committed
increase timing for test_cancel_sleep
1 parent ad6c2ae commit 5f32678

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_misc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ def do_not_run():
149149
raise Exception("should not run")
150150

151151
async def cancel_sleep():
152-
h = loop.call_later(0.1, do_not_run)
153-
await asyncio.sleep(0.05, loop=loop)
152+
h = loop.call_later(0.2, do_not_run)
153+
await asyncio.sleep(0.1, loop=loop)
154154
h.cancel()
155-
await asyncio.sleep(0.2, loop=loop)
155+
await asyncio.sleep(0.3, loop=loop)
156156

157157
await loop.run_asyncio(cancel_sleep)
158158
assert owch == 0

0 commit comments

Comments
 (0)