summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-13 04:56:21 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-09-13 04:56:21 (GMT)
commitfe1b9230cc43c88b827b694b6388782b0a7d0556 (patch)
tree38437ad5a2eab8d5657c2cd584748e04074ddf81
parent0037352d9d554d06390adb7082fdcb48890dbd6c (diff)
parentac2d1c71534f3de62980b0e953eaf6f31d8fd517 (diff)
downloadcpython-fe1b9230cc43c88b827b694b6388782b0a7d0556.zip
cpython-fe1b9230cc43c88b827b694b6388782b0a7d0556.tar.gz
cpython-fe1b9230cc43c88b827b694b6388782b0a7d0556.tar.bz2
Issue #27952: Merge from 3.5
-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: