summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-28 04:34:43 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-28 04:34:43 (GMT)
commitdd28d1c6c2741e4a8124112120bd262a8bbb26b1 (patch)
treee8000eac801ad0836dc88eb3c1773dd9bd19ef5f
parent0bbbb005c5068380230d3e6698863e9bfb06bee1 (diff)
downloadcpython-dd28d1c6c2741e4a8124112120bd262a8bbb26b1.zip
cpython-dd28d1c6c2741e4a8124112120bd262a8bbb26b1.tar.gz
cpython-dd28d1c6c2741e4a8124112120bd262a8bbb26b1.tar.bz2
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written. It depends on the buffering, so we need to flush. This will hopefully really fix the buildbots getting killed due to no output on the slow bots.
-rw-r--r--Lib/test/test_compiler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index a59d6aa..483bc18 100644
--- a/Lib/test/test_compiler.py
+++ b/Lib/test/test_compiler.py
@@ -26,6 +26,7 @@ class CompilerTest(unittest.TestCase):
next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
print >>sys.__stdout__, \
' testCompileLibrary still working, be patient...'
+ sys.__stdout__.flush()
if not basename.endswith(".py"):
continue