From: Neal Norwitz Date: Sat, 29 Apr 2006 03:22:45 +0000 (+0000) Subject: Backport r45774: X-Git-Tag: v2.4.4c1~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969ca9c68ea8a716adf5e7cd544a51f585dd67a3;p=thirdparty%2FPython%2Fcpython.git Backport r45774: 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. --- diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index 13b656034a10..3cbc2f65f49b 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -25,6 +25,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