diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-06-19 18:55:51 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-06-19 18:55:51 +0300 |
commit | 243b42af49aba4c27bcd1d4a8a4a265f9eda7c59 (patch) | |
tree | 54c1b50c01a818ea974d531df4e06af6a68bec1f | |
parent | 81775e19203c8ca0b1079f18532ef34e9d284889 (diff) |
Alembic tests: make failures a bit easier to diagnose.
-rwxr-xr-x | tests/python/alembic_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |