bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)
This commit is contained in:
parent
4c7108a771
commit
5537646bfa
|
@ -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…
Reference in New Issue