From 389b85a9c4d64583ee567965e4c257d2dc7db167 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 13 Jun 2024 15:58:18 +0200 Subject: [PATCH] fix geopandas 1.0 deprecation --- tests/plugins/test_time_slider_choropleth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plugins/test_time_slider_choropleth.py b/tests/plugins/test_time_slider_choropleth.py index 021fc4cae..fcc1be9de 100644 --- a/tests/plugins/test_time_slider_choropleth.py +++ b/tests/plugins/test_time_slider_choropleth.py @@ -22,10 +22,10 @@ def test_timedynamic_geo_json(): """ tests folium.plugins.TimeSliderChoropleth """ + import geodatasets import geopandas as gpd - assert "naturalearth_lowres" in gpd.datasets.available - datapath = gpd.datasets.get_path("naturalearth_lowres") + datapath = geodatasets.get_path("naturalearth land") gdf = gpd.read_file(datapath) """