Skip to content

Commit 887bfa2

Browse files
committed
changed exception that is raised
1 parent 9aa09e6 commit 887bfa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spatialmath/base/test_argcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_isvector(self):
128128

129129
def test_isvector(self):
130130
l = [1, 2, 3]
131-
nt.assert_raises(AssertionError, assertvector, l, 4)
131+
nt.assert_raises(ValueError, assertvector, l, 4)
132132

133133
def test_getvector(self):
134134
l = [1, 2, 3]

0 commit comments

Comments
 (0)