Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e1e8a15

Browse files
GH-98219: reduce sleep time in asyncio subprocess test (GH-99464)
(cherry picked from commit 619cadc) Co-authored-by: Kumar Aditya <[email protected]>
1 parent b189f42 commit e1e8a15

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)