From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 19 Feb 2018 21:00:22 +0000 (-0800) Subject: bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) X-Git-Tag: v3.7.0b2~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=622a824802771fc5aa133ae92101bc8303360294;p=python bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) (cherry picked from commit 5537646bfacec463b450871dde31cb06c44a0556) Co-authored-by: Zachary Ware --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 858a701312..b3ccb0de63 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1179,7 +1179,7 @@ class ProcessTestCase(BaseTestCase): msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR) try: - subprocess.Popen([cmd], + subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) except OSError: