Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise error if function is used with parameters to read no geometry, columns, or fids #280

Prev Previous commit
Next Next commit
Test was moved to test_geopandas_io
theroggy committed Sep 3, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0daf503f0e141616eb2fe7e38939f1bae02ad1e9
5 changes: 0 additions & 5 deletions pyogrio/tests/test_arrow.py
Original file line number Diff line number Diff line change
@@ -47,11 +47,6 @@ def test_read_arrow_columns(naturalearth_lowres):
assert result.columns.tolist() == ["continent", "geometry"]


def test_read_arrow_layer_without_geometry(test_fgdb_vsi):
result = read_dataframe(test_fgdb_vsi, layer="basetable", use_arrow=True)
assert type(result) is pd.DataFrame


def test_read_arrow_ignore_geometry(naturalearth_lowres):
result = read_dataframe(naturalearth_lowres, use_arrow=True, read_geometry=False)
assert type(result) is pd.DataFrame