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

(cherry picked from commit 5537646bfa)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-02-19 12:49:46 -08:00 committed by GitHub
parent b0fd935360
commit ef0bb5c7b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: