diff options
author | Dmitry Dygalo <> | 2016-09-10 23:55:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-09-11 00:04:14 +0300 |
commit | 9fc1cfc4f1e61d5c4c929ead6736afa2d88f5969 (patch) | |
tree | 3ad18f0380ee152637bbcf61a0f1f6953deb3356 /tests | |
parent | d8681c99c4290d38f38e67a2e1b9f7119221a569 (diff) |
Fix undefined variable on errors in Cycles ctests.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D2201
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/python/cycles_render_tests.py | 4 |
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" |