Commit 3d21799a authored by Jérome Perrin's avatar Jérome Perrin

LiveTest: flush stdout when printing output

(cherry picked from commit bafc3a93)
parent 143c64fb
......@@ -223,6 +223,7 @@ def runLiveTest(test_list, verbosity=1, stream=None, **kw):
output = StringIO()
def print_and_write(data):
sys.stdout.write(data)
sys.stdout.flush()
return StringIO.write(output, data)
output.write = print_and_write
output.write("**Running Live Test:\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment