diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-03-10 18:13:47 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-03-10 18:13:47 +0000 |
commit | f092b093f561f0bffeb990c176246c6f6413401d (patch) | |
tree | d423c5b206c18cb79cb2db186961816a3a0a05c3 | |
parent | f36f0f2461a7f0447e92f977ff9c0c71fcb08ffb (diff) | |
download | unit-f092b093f561f0bffeb990c176246c6f6413401d.tar.gz unit-f092b093f561f0bffeb990c176246c6f6413401d.tar.bz2 |
Tests: use blocking to print unit.log files.
Diffstat (limited to '')
-rw-r--r-- | test/unit/main.py | 2 |
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): |