Skip to content

Commit

Permalink
avoid pytest crash by preventing import of deprecated DeleteMeshOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer committed Oct 23, 2023
1 parent 736765a commit 71c2719
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/dflowfm/test_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,10 @@ def test_create_2d():
@pytest.mark.parametrize(
"deletemeshoption,inside,nnodes,nedgenodes",
[
(DeleteMeshOption.ALL_FACE_CIRCUMCENTERS, False, 28, 90),
(DeleteMeshOption.ALL_COMPLETE_FACES, False, 23, 72),
(DeleteMeshOption.ALL_NODES, False, 23, 72),
(DeleteMeshOption.ALL_FACE_CIRCUMCENTERS, True, 23, 72),
(DeleteMeshOption.ALL_COMPLETE_FACES, True, 31, 94),
(DeleteMeshOption.ALL_NODES, True, 22, 64),
(DeleteMeshOption.INSIDE_NOT_INTERSECTED, False, 28, 90),
(DeleteMeshOption.INSIDE_AND_INTERSECTED, False, 23, 72),
(DeleteMeshOption.INSIDE_NOT_INTERSECTED, True, 23, 72),
(DeleteMeshOption.INSIDE_AND_INTERSECTED, True, 31, 94),
],
)
def test_create_clip_2d(deletemeshoption, inside, nnodes, nedgenodes):
Expand Down

0 comments on commit 71c2719

Please sign in to comment.