Skip to content

TST: don't use global fixture in the base extension tests #38494

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 1 commit into from
Dec 15, 2020

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Dec 15, 2020

Follow-up on #37867. In the discussion about using this fixture, I forgot that we should not use global pandas fixtures in those tests, but only the ones that are defined in the local /pandas/tests/extension/conftest.py, otherwise this doesn't work for downstream projects (eg geopandas/geopandas#1735). For this case it's easier to simply not use a fixture, I think (but still share the common definition of the list)

@jorisvandenbossche jorisvandenbossche added the Testing pandas testing functions or related to the test suite label Dec 15, 2020
@jorisvandenbossche jorisvandenbossche added this to the 1.2 milestone Dec 15, 2020
@jreback jreback merged commit 1efc17f into pandas-dev:master Dec 15, 2020
@jreback
Copy link
Contributor

jreback commented Dec 15, 2020

thanks @jorisvandenbossche

@jreback
Copy link
Contributor

jreback commented Dec 15, 2020

@meeseeksdev backport 1.2.x

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Dec 15, 2020
@jorisvandenbossche jorisvandenbossche deleted the nulls-fixture branch December 15, 2020 15:01
simonjayhawkins pushed a commit that referenced this pull request Dec 15, 2020
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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