Skip to content

TST: Filter/test pyarrow PerformanceWarnings #48093

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 7 commits into from
Aug 19, 2022

Conversation

mroeschke
Copy link
Member

  • Add tm.maybe_produces_warning to some calls that could produce PerformanceWarnings based on the pyarrow version.
  • If a test has multiple lines that could produce the warning and another test had a similar call that was checking the PerformanceWarnings, just added a pytest.mark.filterwarning to reduced code-duplication.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Arrow pyarrow functionality labels Aug 15, 2022
@mroeschke mroeschke added this to the 1.5 milestone Aug 15, 2022
@jreback jreback merged commit 786c28f into pandas-dev:main Aug 19, 2022
@mroeschke mroeschke deleted the tst/warnings2 branch August 19, 2022 21:41
mroeschke added a commit that referenced this pull request Aug 20, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality 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