[Python-checkins] bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)

Zachary Ware webhook-mailer at python.org
Mon Feb 19 15:02:42 EST 2018


https://github.com/python/cpython/commit/5537646bfacec463b450871dde31cb06c44a0556
commit: 5537646bfacec463b450871dde31cb06c44a0556
branch: master
author: Zachary Ware <zachary.ware at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-02-19T14:02:38-06:00
summary:

bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)

files:
M Lib/test/test_subprocess.py

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 @@ def test_nonexisting_with_pipes(self):
                 msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR)
 
             try:
-                subprocess.Popen([cmd],
+                subprocess.Popen(cmd,
                                  stdout=subprocess.PIPE,
                                  stderr=subprocess.PIPE)
             except OSError:



More information about the Python-checkins mailing list