Skip to content

TST: Add test for boxable categories GH#21658 #53524

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 1 commit into from
Jun 6, 2023

Conversation

liang3zy22
Copy link
Contributor

@@ -782,3 +782,39 @@ def test_pandas_dtype_numpy_warning():
match="Converting `np.integer` or `np.signedinteger` to a dtype is deprecated",
):
pandas_dtype(np.integer)


def test_boxable_categorical_values():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this to pandas/tests/indexes/multi/test_compat.py?

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Jun 5, 2023
@mroeschke mroeschke added this to the 2.1 milestone Jun 6, 2023
@mroeschke mroeschke merged commit 9ff8827 into pandas-dev:main Jun 6, 2023
@mroeschke
Copy link
Member

Thanks again @liang3zy22

@liang3zy22 liang3zy22 deleted the gh21658 branch June 6, 2023 20:54
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
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.

BUG: .values for objects containing categoricals with box-able categories
2 participants