We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_kill_issue43884
1 parent 69b6b56 commit 3a1eb81Copy full SHA for 3a1eb81
Lib/test/test_asyncio/test_subprocess.py
@@ -184,7 +184,10 @@ def test_kill(self):
184
self.assertEqual(-signal.SIGKILL, returncode)
185
186
def test_kill_issue43884(self):
187
- blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(100000000)"'
+ if sys.platform == 'win32':
188
+ blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(100000000)"'
189
+ else:
190
+ blocking_shell_command = 'sleep 1; sleep 1'
191
creationflags = 0
192
if sys.platform == 'win32':
193
from subprocess import CREATE_NEW_PROCESS_GROUP
0 commit comments