Skip to content

Commit

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

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

with pytest.raises(TypeError) as exc_info:
a * "wrong type"
assert str(exc_info.value) == "Cannot cast wrong type <class 'str'> to Vector"
if not compas.IPY:
assert str(exc_info.value) == "Cannot cast wrong type <class 'str'> to Vector"


def test_vector_equality():
Expand Down

0 comments on commit 443483d

Please sign in to comment.