From: Zachary Ware Date: Mon, 19 Feb 2018 20:02:38 +0000 (-0600) Subject: bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) X-Git-Tag: v3.8.0a1~2202 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5537646bfacec463b450871dde31cb06c44a0556;p=thirdparty%2FPython%2Fcpython.git bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 858a70131205..b3ccb0de63a8 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: