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 d3c6072 commit 8330393Copy full SHA for 8330393
tobler/tests/test_utils.py
@@ -26,9 +26,9 @@ def test_h3fy_nogeoms():
26
27
def test_h3fy_nocrs():
28
sac1 = load_example("Sacramento1")
29
- sac1 = geopandas.read_file(sac1.get_path("sacramentot2.shp"))
30
- with pytest.warns(DeprecationWarning, match="Overriding the CRS of a GeoDataFrame"):
31
- sac1.crs = None
+ sac1 = geopandas.read_file(sac1.get_path("sacramentot2.shp")).set_crs(
+ None, allow_override=True
+ )
32
with pytest.raises(ValueError, match="source geodataframe must have a valid CRS"):
33
h3fy(sac1, return_geoms=True)
34
0 commit comments