New GitHub issue #110367 from vstinner:<br>

<hr>

<pre>
Currently, when a test does crash, its output is lost. It gives bug reports like issue gh-110364 which contains no output, just an exit code :-( The problem is that run_single_test() replaces sys.stdout when --verbose3 option is used. If Python runs normally, the output is ignored on success, or display on error.

When we run a worker process, we can make this decision in the main process: ignore the output on error, or display the output on error.
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/110367">View on GitHub</a>
<p>Labels: </p>
<p>Assignee: </p>