Skip to content

TST/CLN: Reuse top level fixtures instead of parametrizations #56583

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 29 commits into from
Jan 2, 2024

Conversation

mroeschke
Copy link
Member

No description provided.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Clean labels Dec 20, 2023
@mroeschke mroeschke added this to the 3.0 milestone Dec 26, 2023
@mroeschke
Copy link
Member Author

Going to merge this in. Can follow up if needed

@mroeschke mroeschke merged commit dffa51f into pandas-dev:main Jan 2, 2024
@mroeschke mroeschke deleted the cln/fixtures branch January 2, 2024 19:17
@martinfleis
Copy link
Contributor

It seems that the changes in ExtensionArray tests done here break testing of EAs in downstream packages. Those do not have access to fixtures defined in pandas conftest.py and since this PR relies on them, it breaks. See this outcome of GeoPandas CI using the latest nightly https://github.com/bnaul/geopandas/actions/runs/7402184055/job/20139507247.

@mroeschke
Copy link
Member Author

Sorry for the breakage. I opened up a PR in geopandas to fix this geopandas/geopandas#3121

Our distribution of ExtensionArray tests is still a big fragile; I see you had to define some additional fixtures previously that were in pandas/conftest.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants