From f092b093f561f0bffeb990c176246c6f6413401d Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 10 Mar 2020 18:13:47 +0000 Subject: Tests: use blocking to print unit.log files. --- test/unit/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/main.py') 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): -- cgit