]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport r45774:
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 29 Apr 2006 03:22:45 +0000 (03:22 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 29 Apr 2006 03:22:45 +0000 (03:22 +0000)
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.

Lib/test/test_compiler.py

index 13b656034a10eccf9c2e0ad91dfa07d818956358..3cbc2f65f49bcdf9b15c355950222cb9650395a2 100644 (file)
@@ -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