summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/unit/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/main.py b/test/unit/main.py
index a7981c1c..b38d87e2 100644
--- a/test/unit/main.py
+++ b/test/unit/main.py
@@ -371,7 +371,7 @@ class TestUnit(unittest.TestCase):
# set stdout to non-blocking
- if TestUnit.detailed:
+ if TestUnit.detailed or TestUnit.print_log:
fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, 0)
def _print_log(self, data=None):