Skip to content

Commit 1110364

Browse files
committed
Change to test_timeount to use support.SHORT_TIMEOUT
1 parent 13f7cc7 commit 1110364

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
@@ -466,7 +466,7 @@ async def run():
466466
wait_proc = asyncio.create_task(proc.wait())
467467
await asyncio.sleep(0)
468468
proc.kill()
469-
await asyncio.wait_for(wait_proc, timeout=2.0)
469+
await asyncio.wait_for(wait_proc, timeout=support.SHORT_TIMEOUT)
470470
finally:
471471
os.close(w) # Allows the grandchild to exit
472472
if proc.stdout is not None:

0 commit comments

Comments
 (0)