Skip to content

Commit 3933b55

Browse files
Jammy2211Jammy2211
authored andcommitted
fix test_extended_source
1 parent 075e8e7 commit 3933b55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test_autoarray/structures/triangles/test_extended_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_small_point(triangles, point, indices):
4949
radius=0.001,
5050
)
5151
)
52-
assert containing_triangles.tolist() == indices
52+
assert [i for i in containing_triangles.tolist() if i != -1] == indices
5353

5454

5555
@pytest.mark.parametrize(
@@ -72,4 +72,4 @@ def test_large_circle(
7272
radius=radius,
7373
)
7474
)
75-
assert containing_triangles.tolist() == indices
75+
assert [i for i in containing_triangles.tolist() if i != -1] == indices

0 commit comments

Comments
 (0)