Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 529d130

Browse files
committed
merge heads
2 parents 35ee948 + ac2d1c7 commit 529d130

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_tools/test_fixcid.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def run_script(self, input="", *, args=("-",), substfile="xx yy\n"):
8383
script = os.path.join(scriptsdir, "fixcid.py")
8484
with support.swap_attr(sys, "argv", argv), \
8585
support.swap_attr(sys, "stdin", StringIO(input)), \
86-
support.captured_stdout() as output:
86+
support.captured_stdout() as output, \
87+
support.captured_stderr():
8788
try:
8889
runpy.run_path(script, run_name="__main__")
8990
except SystemExit as exit:

0 commit comments

Comments
 (0)