Skip to content

Commit 13f7cc7

Browse files
committed
Use sleep(0) in test per review comments.
1 parent e703a76 commit 13f7cc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_asyncio/test_subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ async def run():
464464
try:
465465
# Ensure we start waiting before the process is killed.
466466
wait_proc = asyncio.create_task(proc.wait())
467-
await asyncio.sleep(0.1)
467+
await asyncio.sleep(0)
468468
proc.kill()
469469
await asyncio.wait_for(wait_proc, timeout=2.0)
470470
finally:

0 commit comments

Comments
 (0)