From: Victor Stinner Date: Wed, 8 Feb 2017 12:06:08 +0000 (+0100) Subject: Fix regrtest -j0 -R output X-Git-Tag: v3.7.0a1~1391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17a63e2169cbd6799ea2f9af25f9b570cc02278a;p=thirdparty%2FPython%2Fcpython.git Fix regrtest -j0 -R output Write also dots into stderr, instead of stdout. --- diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py index 3b3d2458b1f2..d9f72208cfda 100644 --- a/Lib/test/libregrtest/refleak.py +++ b/Lib/test/libregrtest/refleak.py @@ -84,7 +84,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks): indirect_test() alloc_after, rc_after, fd_after = dash_R_cleanup(fs, ps, pic, zdc, abcs) - print('.', end='', flush=True) + print('.', end='', file=sys.stderr, flush=True) if i >= nwarmup: rc_deltas[i] = rc_after - rc_before alloc_deltas[i] = alloc_after - alloc_before