Skip to content

TST/DEV: remove geopandas downstream test + remove from environment.yml #50008

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ dependencies:
- cftime
- dask
- ipython
- geopandas-base
- seaborn
- scikit-learn
- statsmodels
Expand Down
11 changes: 1 addition & 10 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)
import pandas._testing as tm

# geopandas, xarray, fsspec, fastparquet all produce these
# xarray, fsspec, fastparquet all produce these
pytestmark = pytest.mark.filterwarnings(
"ignore:distutils Version classes are deprecated.*:DeprecationWarning"
)
Expand Down Expand Up @@ -223,15 +223,6 @@ def test_pandas_datareader():
pandas_datareader.DataReader("F", "quandl", "2017-01-01", "2017-02-01")


def test_geopandas():

geopandas = import_module("geopandas")
gdf = geopandas.GeoDataFrame(
{"col": [1, 2, 3], "geometry": geopandas.points_from_xy([1, 2, 3], [1, 2, 3])}
)
assert gdf[["col", "geometry"]].geometry.x.equals(Series([1.0, 2.0, 3.0]))


# Cython import warning
@pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning")
def test_pyarrow(df):
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ botocore
cftime
dask
ipython
geopandas
seaborn
scikit-learn
statsmodels
Expand Down