Make sure to flush output when writing dots during -R runs
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 12 Aug 2007 00:00:44 +0000 (00:00 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 12 Aug 2007 00:00:44 +0000 (00:00 +0000)
Lib/test/regrtest.py

index 31e4eaf8182c578aa4d32247c3d9aca7236ed870..6f6436f89b8b69b26c2e349369bbef22e103aabe 100755 (executable)
@@ -682,6 +682,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks):
         rc = sys.gettotalrefcount()
         run_the_test()
         sys.stderr.write('.')
+        sys.stderr.flush()
         dash_R_cleanup(fs, ps, pic)
         if i >= nwarmup:
             deltas.append(sys.gettotalrefcount() - rc - 2)