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

[ArrayManager] TST: Convert skip into xfail and clean-up tests that now work #44571

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

jorisvandenbossche
Copy link
Member

xref #39146

As discussed before, turning the generic "skip" into an "xfail", so it's easier to keep track of which tests start to pass (and also clean-up a whole bunch of tests that were indeed already passing).
For parametrized tests, sometimes it's only a subset of the tests that are failing/passing. So for those cases, added a helper function that adds the xfail mark inside the test based on a condition (instead of as decorator for the full test).

@jorisvandenbossche jorisvandenbossche added Testing pandas testing functions or related to the test suite ArrayManager labels Nov 22, 2021
@jorisvandenbossche jorisvandenbossche added this to the 1.4 milestone Nov 22, 2021
request.node.add_marker(mark)


skip_array_manager_not_yet_implemented = pytest.mark.xfail(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent! ive got a half-implemented branch doing the same thing!

@jreback jreback merged commit 835c78e into pandas-dev:master Nov 23, 2021
@jreback
Copy link
Contributor

jreback commented Nov 23, 2021

thanks @jorisvandenbossche

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.

3 participants