Skip to content

Commit c6516be

Browse files
committed
Fix tests
1 parent e26d453 commit c6516be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_input_damages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ def test_prep_mortality_damages(
10631063
"valuation": (["valuation"], ["vsl", "vly"]),
10641064
"year": (["year"], [2010, 2099]),
10651065
},
1066-
).expand_dims("mortality")
1066+
)
10671067

10681068
d = os.path.join(tmp_path, "mortality_in")
10691069
if not os.path.exists(d):
@@ -1123,7 +1123,7 @@ def test_prep_mortality_damages(
11231123

11241124
xr.testing.assert_equal(
11251125
ds_out_expected,
1126-
ds_out_actual.sel(ds_out_expected.coords).transpose(*list(ds_out_expected.dims)),
1126+
ds_out_actual,
11271127
)
11281128

11291129

0 commit comments

Comments
 (0)