Commit 343e4460 authored by Victor Stinner's avatar Victor Stinner

Issue #12400: runtest() truncates the StringIO stream before a new test

parent 5c180a01
......@@ -793,6 +793,7 @@ def runtest(test, verbose, quiet,
if runtest.stringio is None:
runtest.stringio = io.StringIO()
stream = runtest.stringio
stream.truncate(0)
orig_stdout = sys.stdout
orig_stderr = sys.stderr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment