diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-10 17:58:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-11 10:36:18 +0300 |
commit | d83bcf707109faee3bf6c991f875c3295be34df3 (patch) | |
tree | d76f73dcdda5f67ab72b71012f8218365ec02855 /tests/python/cycles_render_tests.py | |
parent | 99eb13d3f74e1811bba7b21cbf0096b72ac681e4 (diff) |
Cycles tests: Don't proint braces for empty status
Diffstat (limited to 'tests/python/cycles_render_tests.py')
-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() |