Skip to content

TST: Use pytest or assert_produces_warnings instead of catch_warnings #54390

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 10 commits into from
Aug 5, 2023

Conversation

mroeschke
Copy link
Member

No description provided.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Warnings Warnings that appear or should be added to pandas labels Aug 3, 2023
@mroeschke mroeschke added this to the 2.1 milestone Aug 3, 2023
@mroeschke mroeschke requested a review from noatamir as a code owner August 4, 2023 18:08
@mroeschke
Copy link
Member Author

Looks like tests are passing here so merging. Happy to follow up if needed

@mroeschke mroeschke merged commit befc7ea into pandas-dev:main Aug 5, 2023
@mroeschke mroeschke deleted the tst/warnings branch August 5, 2023 18:38
mroeschke added a commit to mroeschke/pandas that referenced this pull request Aug 18, 2023
…pandas-dev#54390)

* TST: Use pytest or assert_produces_warnings instead of catch_warnings

* Full path

* Simplfy message

* Fix some runtimewarnings showing up

* Don't recommend catch_warnings
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 Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant