summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 6df8f86..c4f2781 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -782,6 +782,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
running = get_running(workers)
if running and not pgo:
print('running: %s' % ', '.join(running))
+ sys.stdout.flush()
continue
test, stdout, stderr, result = item
@@ -802,7 +803,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
display_progress(test_index, text)
if stdout:
- print stdout
+ print(stdout)
sys.stdout.flush()
if stderr and not pgo:
print >>sys.stderr, stderr