diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index d7eb982dc57..5c6429cc022 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1183,7 +1183,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: