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
diff options
context:
space:
mode:
authorDmitry Dygalo <>2016-09-10 23:55:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-09-14 11:26:20 +0300
commit872065e19e3fce16b4af04bd701cc9645a943ad5 (patch)
tree895f45193cdb8e6d90682ed80569d4151100afd1
parentf6fb072ab241fb490c98ef56c1215f593677db06 (diff)
Fix undefined variable on errors in Cycles ctests.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2201
-rwxr-xr-xtests/python/cycles_render_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index fb9a4b348b7..78b4b346f24 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -38,11 +38,11 @@ def render_file(filepath):
elif b"blender probably wont start" in e.output:
return "NO_START"
return "CRASH"
- except:
+ except BaseException as e:
if os.path.exists(TEMP_FILE):
os.remove(TEMP_FILE)
if VERBOSE:
- print(e.output.decode("utf-8"))
+ print(e)
return "CRASH"