From bafc3a9392c462f9d714c977a972899b5f89723c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 10 Feb 2016 04:21:15 +0100
Subject: [PATCH] LiveTest: flush stdout when printing output

---
 product/ERP5Type/tests/ERP5TypeLiveTestCase.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5Type/tests/ERP5TypeLiveTestCase.py b/product/ERP5Type/tests/ERP5TypeLiveTestCase.py
index 1fa75c0f39..e567b999a5 100644
--- a/product/ERP5Type/tests/ERP5TypeLiveTestCase.py
+++ b/product/ERP5Type/tests/ERP5TypeLiveTestCase.py
@@ -230,6 +230,7 @@ def runLiveTest(test_list, verbosity=1, stream=None, request_server_url=None, **
     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")
-- 
2.30.9