diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2018-02-19 20:02:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-19 20:02:38 (GMT) |
commit | 5537646bfacec463b450871dde31cb06c44a0556 (patch) | |
tree | d871861a509aaaaf9e51a7288a9aaa1e7c2936d0 | |
parent | 4c7108a77144493d0aa6fc0105b67d3797e143f5 (diff) | |
download | cpython-5537646bfacec463b450871dde31cb06c44a0556.zip cpython-5537646bfacec463b450871dde31cb06c44a0556.tar.gz cpython-5537646bfacec463b450871dde31cb06c44a0556.tar.bz2 |
bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 858a701..b3ccb0d 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1179,7 +1179,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: |