Skip to content

Commit 7535fb6

Browse files
Update climada/engine/test/test_impact_calc.py
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
1 parent 3b426fd commit 7535fb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

climada/engine/test/test_impact_calc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_error_handling_mismatch_haz_type(self):
150150
def test_error_handling_empty_hazard(self):
151151
"""An empty Hazard must raise a clear ValueError (see GH #814)."""
152152
haz_empty = Hazard("TC")
153-
exp = Exposures()
153+
exp = Exposures(data={"value": [1.0]}, lat=[10.0], lon=[10.0])
154154
exp.gdf["impf_TC"] = 1
155155
impf = ImpactFunc(
156156
haz_type="TC",

0 commit comments

Comments
 (0)