merge 3.5

This commit is contained in:
Benjamin Peterson 2016-09-12 22:09:39 -07:00
commit 4ce9e7a14a
1 changed files with 2 additions and 1 deletions

View File

@ -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: