-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Add more regression tests for fixed issues #31171
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
@@ -86,3 +86,15 @@ def test_getitem_2d_deprecated(self): | |||
with pytest.raises(ValueError, match="multi-dimensional indexing not allowed"): | |||
with tm.assert_produces_warning(DeprecationWarning, check_stacklevel=False): | |||
idx[:, None] | |||
|
|||
def test_get_indexer_non_monotonic(self): |
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.
Can you move this to tests/indexes/interval/test_indexing.py
within the TestGetIndexer
class? LGTM otherwise.
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.
lgtm
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.
Don't forget to save some for the rest of us to contribute to 😁
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff