[Python-checkins] cpython: Fix regrtest -j0 -R output
victor.stinner
python-checkins at python.org
Wed Feb 8 07:08:40 EST 2017
https://hg.python.org/cpython/rev/df334ed278ce
changeset: 106469:df334ed278ce
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Feb 08 13:06:08 2017 +0100
summary:
Fix regrtest -j0 -R output
Write also dots into stderr, instead of stdout.
files:
Lib/test/libregrtest/refleak.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py
--- a/Lib/test/libregrtest/refleak.py
+++ b/Lib/test/libregrtest/refleak.py
@@ -84,7 +84,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list