]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix ResourceWarnings of test_kill_issue43884 in asyncio (#154178)
authorKumar Aditya <kumaraditya@python.org>
Sun, 19 Jul 2026 18:18:14 +0000 (23:48 +0530)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 18:18:14 +0000 (18:18 +0000)
Lib/test/test_asyncio/test_subprocess.py

index 2e97fa5820f82453add3fb218c7b0dda67280cba..70480ffe4c55c2a2585e87be6fa5619cddd27b0c 100644 (file)
@@ -220,7 +220,7 @@ class SubprocessMixin:
             # kills the process and all its children.
             creationflags = CREATE_NEW_PROCESS_GROUP
         proc = self.loop.run_until_complete(
-            asyncio.create_subprocess_shell(blocking_shell_command, stdout=asyncio.subprocess.PIPE,
+            asyncio.create_subprocess_shell(blocking_shell_command,
             creationflags=creationflags)
         )
         self.loop.run_until_complete(asyncio.sleep(1))