mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
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:
parent
0cd35817e8
commit
622a824802
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue