Skip to content

Compat for util.testing import #30973

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 6 commits into from
Jan 13, 2020

Conversation

TomAugspurger
Copy link
Contributor

Closes #30869

@TomAugspurger TomAugspurger added this to the 1.0.0 milestone Jan 13, 2020
@TomAugspurger
Copy link
Contributor Author

Note that there's a slight behavior difference across python versions. For py36, pandas.util.testing doesn't warn, pandas.util.testing.assert_series_equal does. For py37+, pandas.util.testing does warn.

@jbrockmendel
Copy link
Member

LGTM

@TomAugspurger TomAugspurger merged commit 2bf0c9f into pandas-dev:master Jan 13, 2020
@TomAugspurger TomAugspurger deleted the import-util branch January 13, 2020 20:45
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Jan 13, 2020
jorisvandenbossche pushed a commit that referenced this pull request Jan 13, 2020
from pandas.core.util.hashing import hash_array, hash_pandas_object # noqa

# compatibility for import pandas; pandas.util.testing
Copy link
Contributor

Choose a reason for hiding this comment

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

in the future pls put the issue numbers here with a comment to make removals easier.

when this code is read in the future, it will be very hard for anyone not part of the original conversation to grok what is happening here (easily).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pandas.util.testing no longer imported with pandas
4 participants