Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
Licini committed May 13, 2024
1 parent 640393e commit 2c1e11f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/compas/geometry/test_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_vector_operators():

with pytest.raises(TypeError) as exc_info:
a / "wrong type"
print(exc_info)
assert str(exc_info.value) == "Cannot cast wrong type <class 'str'> to Vector"

with pytest.raises(TypeError) as exc_info:
Expand Down

0 comments on commit 2c1e11f

Please sign in to comment.