Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-10-10 17:58:37 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-11 10:36:18 +0300
commitd83bcf707109faee3bf6c991f875c3295be34df3 (patch)
treed76f73dcdda5f67ab72b71012f8218365ec02855 /tests
parent99eb13d3f74e1811bba7b21cbf0096b72ac681e4 (diff)
Cycles tests: Don't proint braces for empty status
Diffstat (limited to 'tests')
-rwxr-xr-xtests/python/cycles_render_tests.py3
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()