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 13:00:22 -08:00 committed by GitHub
parent 0cd35817e8
commit 622a824802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1179,7 +1179,7 @@ class ProcessTestCase(BaseTestCase):
msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR) msvcrt.CrtSetReportFile(report_type, msvcrt.CRTDBG_FILE_STDERR)
try: try:
subprocess.Popen([cmd], subprocess.Popen(cmd,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE) stderr=subprocess.PIPE)
except OSError: except OSError: