Make sure to flush output when writing dots during -R runs

This commit is contained in:
Neal Norwitz 2007-08-12 00:00:44 +00:00
parent 2614e1dc63
commit bb217d9ed8
1 changed files with 1 additions and 0 deletions

View File

@ -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)