We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 679ab95 commit 4bf2bafCopy full SHA for 4bf2baf
climada/test/test_osm.py
@@ -61,7 +61,9 @@ def test_get_osmstencil_litpop(self):
61
self.assertIsInstance(exposure_high_47_8, Exposures)
62
self.assertEqual(len(exposure_high_47_8.gdf.columns), 8)
63
self.assertGreater(
64
- exposure_high_47_8.gdf.iloc[random.randint(0, len(exposure_high_47_8.gdf))].value,
+ exposure_high_47_8.gdf.iloc[
65
+ random.randint(0, len(exposure_high_47_8.gdf) - 1)
66
+ ].value,
67
0)
68
69
def test_make_osmexposure(self):
0 commit comments