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

Miss Islington (bot) webhook-mailer at python.org
Mon Feb 19 15:49:49 EST 2018


https://github.com/python/cpython/commit/ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328
commit: ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-02-19T12:49:46-08:00
summary:

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

(cherry picked from commit 5537646bfacec463b450871dde31cb06c44a0556)

Co-authored-by: Zachary Ware <zachary.ware at gmail.com>

files:
M Lib/test/test_subprocess.py

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