]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix regrtest -j0 -R output
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Feb 2017 12:06:08 +0000 (13:06 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Feb 2017 12:06:08 +0000 (13:06 +0100)
Write also dots into stderr, instead of stdout.

Lib/test/libregrtest/refleak.py

index 3b3d2458b1f2e0975829c1557ab76a733a887e9e..d9f72208cfda0e2de85c6d64e9aa410c4e92fe09 100644 (file)
@@ -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