mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +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
b0fd935360
commit
ef0bb5c7b7
1 changed files with 1 additions and 1 deletions
|
@ -1183,7 +1183,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