Alembic tests: make failures a bit easier to diagnose.

This commit is contained in:
Sybren A. Stüvel 2017-06-19 17:55:51 +02:00
parent 81775e1920
commit 243b42af49
1 changed files with 2 additions and 0 deletions

View File

@ -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