that's too much!
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
from geopandas import GeoDataFrame, read_file
|
||||
from geopandas.datasets import get_path
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb"]
|
||||
)
|
||||
def test_read_paths(test_dataset):
|
||||
with pytest.warns(FutureWarning, match="The geopandas.dataset module is"):
|
||||
assert isinstance(read_file(get_path(test_dataset)), GeoDataFrame)
|
||||
Reference in New Issue
Block a user