summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-13 04:56:45 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-09-13 04:56:45 (GMT)
commita8eaaabbc0f0689a7c9ff8c886cc49276971aec4 (patch)
tree6791819e2c533b4456ac9d1907b23e2151d7a6ca
parentae66e6962e174c75963d58b31248d4edfb96b7db (diff)
parentfe1b9230cc43c88b827b694b6388782b0a7d0556 (diff)
downloadcpython-a8eaaabbc0f0689a7c9ff8c886cc49276971aec4.zip
cpython-a8eaaabbc0f0689a7c9ff8c886cc49276971aec4.tar.gz
cpython-a8eaaabbc0f0689a7c9ff8c886cc49276971aec4.tar.bz2
Issue #27952: Merge from 3.6
-rw-r--r--Lib/test/test_tools/test_fixcid.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tools/test_fixcid.py b/Lib/test/test_tools/test_fixcid.py
index 7f25c17..bce029b 100644
--- 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), \
support.swap_attr(sys, "stdin", StringIO(input)), \
- support.captured_stdout() as output:
+ support.captured_stdout() as output, \
+ support.captured_stderr():
try:
runpy.run_path(script, run_name="__main__")
except SystemExit as exit: