From ccbd90beca0b79c3f9efa5d9486a912bb43b0b9c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 8 Feb 2017 13:06:08 +0100 Subject: Fix regrtest -j0 -R output Write also dots into stderr, instead of stdout. --- Lib/test/libregrtest/refleak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py index 3b3d2458b1..d9f72208cf 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 -- cgit v1.2.1