diff options
-rwxr-xr-x | tests/python/cycles_render_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index 2122150467c..731996df8ef 100755 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -43,7 +43,8 @@ def print_message(message, type=None, status=''): status_text = " FAILED " else: status_text = status - print("[{}]" . format(status_text), end="") + if status_text: + print("[{}]" . format(status_text), end="") print(COLORS.ENDC, end="") print(" {}" . format(message)) sys.stdout.flush() |