Skip to content

Commit 7ac4da3

Browse files
committed
test coverage
1 parent 5736fb4 commit 7ac4da3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dask_geopandas/tests/test_core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,9 @@ def test_drop():
10451045
result = df.drop(columns="col")
10461046
assert type(result) is dask_geopandas.GeoDataFrame
10471047

1048+
with pytest.raises(ValueError, match="No axis named x"):
1049+
df.drop(axis="x")
1050+
10481051

10491052
def test_core_deprecated():
10501053
with pytest.warns(FutureWarning, match="dask_geopandas.core"):

0 commit comments

Comments
 (0)