diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/pyarmnn/test/test_types.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/pyarmnn/test/test_types.py b/python/pyarmnn/test/test_types.py index dfe1429c02..500a779844 100644 --- a/python/pyarmnn/test/test_types.py +++ b/python/pyarmnn/test/test_types.py @@ -27,3 +27,8 @@ def test_permutation_vector(): pv4 = ann.PermutationVector((0, 3, 1, 2)) assert pv.IsInverse(pv4) + + with pytest.raises(ValueError) as err: + pv4[4] + + assert err.type is ValueError |