summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-11-15 01:23:11 +0530
committerGitHub <noreply@github.com>2022-11-14 11:53:11 -0800
commit619cadcda6a8ba4a038c1807b6566a90e25db934 (patch)
treedfccd6000eeb863318bfd3fd0b5296d4eacc3518
parentf63002755d3b7c0bb2e452f158769f19fcf3b850 (diff)
downloadcpython-git-619cadcda6a8ba4a038c1807b6566a90e25db934.tar.gz
GH-98219: reduce sleep time in `asyncio` subprocess test (#99464)
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index 20bca3e6b7..7411f735da 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -185,7 +185,7 @@ class SubprocessMixin:
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