]> granicus.if.org Git - python/commitdiff
bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)
authorZachary Ware <zachary.ware@gmail.com>
Mon, 19 Feb 2018 20:02:38 +0000 (14:02 -0600)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2018 20:02:38 +0000 (14:02 -0600)
Lib/test/test_subprocess.py

index 858a70131205863bc94df900c8d0b6c170a28e13..b3ccb0de63a84cdef72a0d6e3df8815e6fb584de 100644 (file)
@@ -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: