Skip to content

Commit 96e2e7d

Browse files
committed
tests: Remove testing for AssertionError
This crashes with `assert-abort` and doesn't work with release builds
1 parent 5cad92c commit 96e2e7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/collide/test_into_heightfield.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def test_sphere_into_heightfield():
2626
entry, np_from, np_into = make_collision(sphere, heightfield)
2727
assert entry.get_surface_point(np_from) == (1, 510, 10.1)
2828

29-
with pytest.raises(AssertionError) as err:
30-
assert heightfield.set_num_subdivisions(-1) == err
31-
assert heightfield.set_num_subdivisions(11) == err
29+
#with pytest.raises(AssertionError) as err:
30+
# assert heightfield.set_num_subdivisions(-1) == err
31+
# assert heightfield.set_num_subdivisions(11) == err
3232

3333
# Use a greater number of subdivisions, should still work
3434
num_subdivisions = 10

0 commit comments

Comments
 (0)