Skip to content

Commit a87304f

Browse files
test_from_shape_zurich_pass: remove notes about changed excpectations
1 parent 8944221 commit a87304f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

climada/test/test_litpop_integr.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,13 @@ def test_from_shape_zurich_pass(self):
170170
self.assertAlmostEqual(ent.value.sum(), 1000.0)
171171
self.assertEqual(ent.value.min(), 0.0)
172172
self.assertAlmostEqual(ent.value.max(), 5.058, places=4)
173-
# Note: up to climada 6.0 this value used to be 5.05792616746308, then 5.058035160766561.
174-
# The discrepancy assumedly caused by rounding differences of the slightly changed
175-
# calculation procedure.
176173
self.assertEqual(ent.region_id.min(), 756)
177174
self.assertEqual(ent.region_id.max(), 756)
178175
self.assertAlmostEqual(ent.latitude.min(), 47.2 + 15 / 3600)
179176
# index and coord. of largest value:
180177
self.assertEqual(
181178
ent.gdf.loc[ent.gdf["value"] == ent.gdf["value"].max()].index[0], 434
182179
)
183-
# Note: up to climada 6.0 this index used to be 482, because of its then irregular order.
184-
# Specifically: the dataframe started at 36 and then skipped 71, 107, 143, etc.
185180
self.assertAlmostEqual(
186181
ent.gdf.loc[ent.gdf["value"] == ent.gdf["value"].max()].geometry.y.values[
187182
0

0 commit comments

Comments
 (0)