Skip to content

TST: Fix test_constructor_signed_int_overflow_deprecation w/ multiple warnings #50686

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 4 commits into from
Jan 12, 2023

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Jan 12, 2023

Would raise

2023-01-07T01:45:49.8230480Z FAILED ../lib/python3.10/site-packages/pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_signed_int_overflow_deprecation - TypeError: issubclass() arg 2 must be a class, a tuple of classes, or a union

because tuple would contain (FutureWarning, None) which is not supported

xref conda-forge/pandas-feedstock#150

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Jan 12, 2023
@mroeschke mroeschke added this to the 1.5.3 milestone Jan 12, 2023
@mroeschke mroeschke merged commit 1ffb79c into pandas-dev:1.5.x Jan 12, 2023
@mroeschke mroeschke deleted the fix/np_warnings branch January 12, 2023 20:30
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