diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-19 20:49:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-19 20:49:46 (GMT) |
commit | ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328 (patch) | |
tree | faa9e5f17fe6430fac8682331c3bb203865a6286 | |
parent | b0fd935360e81b6bb4733deed69f51516c771f7a (diff) | |
download | cpython-ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328.zip cpython-ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328.tar.gz cpython-ef0bb5c7b76a49a5f3c5b85b5f9112cfefe54328.tar.bz2 |
bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)
(cherry picked from commit 5537646bfacec463b450871dde31cb06c44a0556)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
-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 d7eb982..5c6429c 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1183,7 +1183,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: |