summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tools
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-13 05:09:39 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-13 05:09:39 (GMT)
commit4ce9e7a14ac776c61427c2a320e0a0f41f6eb123 (patch)
tree18774ae144ff18ac3cad4fad94b50c83a0c51589 /Lib/test/test_tools
parent5a715cfc57e242b93c5c5e8ad2443ee276b3e6fc (diff)
parent529d130eda809ccb97b45145a8dfb4c65e25f41d (diff)
downloadcpython-4ce9e7a14ac776c61427c2a320e0a0f41f6eb123.zip
cpython-4ce9e7a14ac776c61427c2a320e0a0f41f6eb123.tar.gz
cpython-4ce9e7a14ac776c61427c2a320e0a0f41f6eb123.tar.bz2
merge 3.5
Diffstat (limited to 'Lib/test/test_tools')
-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: