Skip to content

Commit ec83051

Browse files
committed
Upgrade mikeio to 3.1.0 and fix broken test
GeometryFM2D.is_2d was removed in mikeio 3.1.0; removed the obsolete assertion.
1 parent 75e14ba commit ec83051

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/model/test_dfsu.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ def test_dfsu_repr(hd_oresund_2d):
7070
def test_dfsu_properties(hd_oresund_2d):
7171
mr = ms.model_result(hd_oresund_2d, name="Oresund2d", item="Surface elevation")
7272

73-
# TODO Not sure this assert is useful
74-
assert mr.data.geometry.is_2d
75-
7673
# Note != name of item
7774
assert mr.quantity.name == "Surface Elevation"
7875
assert mr.quantity.unit == "m"

0 commit comments

Comments
 (0)