cpython: 5ae3782c4e05 (original) (raw)

Mercurial > cpython

changeset 103733:5ae3782c4e05 3.5

Issue #27952: Capture stderr in run_script() [#27952]

Berker Peksag berker.peksag@gmail.com
date Tue, 13 Sep 2016 07:55:54 +0300
parents aa88456f1749
children 33d118a27035 a753f6e4501b
files Lib/test/test_tools/test_fixcid.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_tools/test_fixcid.py 3

line wrap: on

line diff

--- a/Lib/test/test_tools/test_fixcid.py +++ b/Lib/test/test_tools/test_fixcid.py @@ -83,7 +83,8 @@ class Test(unittest.TestCase): script = os.path.join(scriptsdir, "fixcid.py") with support.swap_attr(sys, "argv", argv), [](#l1.5) support.swap_attr(sys, "stdin", StringIO(input)), [](#l1.6)