[3.13] fix ResourceWarnings of test_kill_issue43884 in asyncio (GH-154178) (#154185)

kumaraditya303 <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/7a90bb4b4dc78f693d9be17d68ce6e25c15bd04b
commit: 7a90bb4b4dc78f693d9be17d68ce6e25c15bd04b
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-07-20T10:25:24+05:30
summary:

[3.13] fix ResourceWarnings of test_kill_issue43884 in asyncio (GH-154178) (#154185)

fix ResourceWarnings of test_kill_issue43884 in asyncio (GH-154178)
(cherry picked from commit 6df4993bb646e7f1a30f37c3f65a5b4c9c033cb0)

Co-authored-by: Kumar Aditya <[email protected]>

files:
M Lib/test/test_asyncio/test_subprocess.py

diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index 0c33bf85f67b4d2..18f7f9f90efc483 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -250,7 +250,7 @@ def test_kill_issue43884(self):
             # 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))

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.