[Bf-blender-cvs] [596c20c677a] id_copy_refactor: Alembic tests: make failures a bit easier to diagnose.
Sybren A. Stüvel
noreply at git.blender.org
Tue Jun 20 17:56:46 CEST 2017
Commit: 596c20c677a7f66a45c271b0de71be7d35453280
Author: Sybren A. Stüvel
Date: Mon Jun 19 17:55:51 2017 +0200
Branches: id_copy_refactor
https://developer.blender.org/rB596c20c677a7f66a45c271b0de71be7d35453280
Alembic tests: make failures a bit easier to diagnose.
===================================================================
M tests/python/alembic_tests.py
===================================================================
diff --git a/tests/python/alembic_tests.py b/tests/python/alembic_tests.py
index e36a6391298..96a68de9801 100755
--- a/tests/python/alembic_tests.py
+++ b/tests/python/alembic_tests.py
@@ -157,6 +157,8 @@ class AbstractAlembicTest(unittest.TestCase):
if proptype == 'CompoundProperty':
# To read those, call self.abcprop() on it.
continue
+ if len(parts) < 2:
+ raise ValueError('Error parsing result from abcprop: %s', info.strip())
valtype_and_arrsize, name_and_extent = parts[1:]
# Parse name and extent
More information about the Bf-blender-cvs
mailing list