[Bf-blender-cvs] [243b42af49a] master: Alembic tests: make failures a bit easier to diagnose.

Sybren A. Stüvel noreply at git.blender.org
Mon Jun 19 17:56:00 CEST 2017


Commit: 243b42af49aba4c27bcd1d4a8a4a265f9eda7c59
Author: Sybren A. Stüvel
Date:   Mon Jun 19 17:55:51 2017 +0200
Branches: master
https://developer.blender.org/rB243b42af49aba4c27bcd1d4a8a4a265f9eda7c59

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