Skip to content
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

MNT: Silence a bunch of warnings about np.fromstring() #249

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Sep 21, 2018

NumPy would really like us to use frombuffer() binary data rather than fromstring(). This eliminates several hundred warnings when running the test suite with the latest NumPy.

The warnings about Pandas and setting attributes is back, but I think this is a problem with pytest 3.8, so I'll defer doing anything about them for now. This PR is enough to get things back under control at least.

NumPy would really like us to use frombuffer() binary data rather than
fromstring(). This elminates several hundred warnings when running the
test suite with the latest NumPy.
Copy link
Contributor

@jrleeman jrleeman left a comment

Choose a reason for hiding this comment

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

LGTM

@jrleeman jrleeman merged commit b6afb07 into Unidata:master Sep 24, 2018
@dopplershift dopplershift deleted the warnings branch September 24, 2018 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants