-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Series[uintarray] failing to raise KeyError #37495
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
@@ -147,6 +147,17 @@ def test_getitem_intlist_multiindex_numeric_level(self, dtype, box): | |||
with pytest.raises(KeyError, match="5"): | |||
ser[key] | |||
|
|||
@pytest.mark.parametrize("dtype", [np.uint8, np.uint16, np.uint32, np.uint64]) |
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 create a fixture that is all numpy + all ea int dtypes (maybe call it INT_INDEXING or something) and use it here
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.
looks like there is a fixture uint_dtype that makes sense to use here, will update
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.
updated+greenish
* CI: 32 bit maybe_indices_to_slice * accept either * revert * troubleshoot * try again * intp * multiindex np.intp * revert branched from wrong branch * BUG: Series[uint8array] failing to raise KeyError * use fixture
* CI: 32 bit maybe_indices_to_slice * accept either * revert * troubleshoot * try again * intp * multiindex np.intp * revert branched from wrong branch * BUG: Series[uint8array] failing to raise KeyError * use fixture
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff