Skip to content

TST: stricter xfails, catch/suppress warnings #33882

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 33 commits into from
May 2, 2020

Conversation

jbrockmendel
Copy link
Member

Remove box_df_fail which is no longer used

@jreback jreback added the Testing pandas testing functions or related to the test suite label Apr 30, 2020
@jreback jreback added this to the 1.1 milestone Apr 30, 2020
@jreback
Copy link
Contributor

jreback commented Apr 30, 2020

FAILED pandas/tests/plotting/test_datetimelike.py::TestTSPlot::test_ax_plot

on a travis build

result = op(array, nulls_fixture)
expected = self.elementwise_comparison(op, array, nulls_fixture)

if nulls_fixture is pd.NA and array.dtype != pd.IntervalDtype("int"):
pytest.xfail("broken for non-integer IntervalArray; see GH 31882")
mark = 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.

Perhaps a helpful function for this if we are going to do across the codebase? Jeff's idea - here

I'm happy to tackle some myself too :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Go for it. I think this is a strictly better pattern than pytest.xfail, since it will alert us if an xfail becomes fixed.

@jreback jreback merged commit f76c4c2 into pandas-dev:master May 2, 2020
@jreback
Copy link
Contributor

jreback commented May 2, 2020

thanks

@jbrockmendel jbrockmendel deleted the xfails2 branch May 2, 2020 16:34
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
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.

9 participants