-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: tests using invalid_scalar fixture #44175
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
Conversation
jbrockmendel
commented
Oct 25, 2021
- closes #xxxx
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
this could be a new user facing message right, can you add a whatsnew note |
not exactly; pretty hard to reach from Series/DataFrame methods |
can you rebase |
https://github.com/pandas-dev/pandas/runs/4051113097?check_suite_focus=true looks to be an actual issue |
"index out of bounds", # pyarrow | ||
"Out of bounds access", # Sparse | ||
f"index {ub+1} is out of bounds for axis 0 with size {ub}", | ||
f"index -{ub+1} is out of bounds for axis 0 with size {ub}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with pytest.raises(IndexError, match=msg):
E AssertionError: Regex pattern 'list index out of range|index out of bounds|Out of bounds access|index 101 is out of bounds for axis 0 with size 100|index -101 is out of bounds for axis 0 with size 100' does not match 'loc must be an integer between -100 and 100'.
i think these are asserting on 3.10 builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be addressed by just-pushed commit in #44242