mirror of https://github.com/python/cpython
Make sure to flush output when writing dots during -R runs
This commit is contained in:
parent
2614e1dc63
commit
bb217d9ed8
|
@ -682,6 +682,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks):
|
||||||
rc = sys.gettotalrefcount()
|
rc = sys.gettotalrefcount()
|
||||||
run_the_test()
|
run_the_test()
|
||||||
sys.stderr.write('.')
|
sys.stderr.write('.')
|
||||||
|
sys.stderr.flush()
|
||||||
dash_R_cleanup(fs, ps, pic)
|
dash_R_cleanup(fs, ps, pic)
|
||||||
if i >= nwarmup:
|
if i >= nwarmup:
|
||||||
deltas.append(sys.gettotalrefcount() - rc - 2)
|
deltas.append(sys.gettotalrefcount() - rc - 2)
|
||||||
|
|
Loading…
Reference in New Issue