Skip to content

Commit 619cadc

Browse files
GH-98219: reduce sleep time in asyncio subprocess test (#99464)
1 parent f630027 commit 619cadc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_asyncio/test_subprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_kill(self):
185185

186186
def test_kill_issue43884(self):
187187
if sys.platform == 'win32':
188-
blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(100000000)"'
188+
blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(2)"'
189189
else:
190190
blocking_shell_command = 'sleep 1; sleep 1'
191191
creationflags = 0

0 commit comments

Comments
 (0)