Skip to content

Commit

Permalink
GH-98219: reduce sleep time in asyncio subprocess test (GH-99464)
Browse files Browse the repository at this point in the history
(cherry picked from commit 619cadc)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
miss-islington and kumaraditya303 authored Nov 15, 2022
1 parent b189f42 commit e1e8a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_asyncio/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_kill(self):

def test_kill_issue43884(self):
if sys.platform == 'win32':
blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(100000000)"'
blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(2)"'
else:
blocking_shell_command = 'sleep 1; sleep 1'
creationflags = 0
Expand Down

0 comments on commit e1e8a15

Please sign in to comment.