summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-11-14 19:53:11 (GMT)
committerGitHub <noreply@github.com>2022-11-14 19:53:11 (GMT)
commit619cadcda6a8ba4a038c1807b6566a90e25db934 (patch)
treedfccd6000eeb863318bfd3fd0b5296d4eacc3518 /Lib/test/test_asyncio
parentf63002755d3b7c0bb2e452f158769f19fcf3b850 (diff)
downloadcpython-619cadcda6a8ba4a038c1807b6566a90e25db934.zip
cpython-619cadcda6a8ba4a038c1807b6566a90e25db934.tar.gz
cpython-619cadcda6a8ba4a038c1807b6566a90e25db934.tar.bz2
GH-98219: reduce sleep time in `asyncio` subprocess test (#99464)
Diffstat (limited to 'Lib/test/test_asyncio')
-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 20bca3e..7411f73 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