Skip to content

Resolve more warnings in the xarray test suite #1964

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 5 commits into from
Mar 9, 2018

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented Mar 5, 2018

These have been getting a little out of hand.

Currently down from 255 to 104 warnings.

xref #1652

Currently down from 255 to 104 warnings.
@fujiisoup
Copy link
Member

fujiisoup commented Mar 5, 2018

Thanks. I have once tried to remove these warnings (mostly they are caused by my addition), but did not find a good way to do it.
It looks nice.

@@ -2,6 +2,7 @@
import warnings
from collections import OrderedDict
from distutils.version import LooseVersion
import warnings
Copy link
Contributor

Choose a reason for hiding this comment

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

F811 redefinition of unused 'warnings' from line 2

@@ -52,6 +52,8 @@ Bug fixes

- Fix the precision drop after indexing datetime64 arrays (:issue:`1932`).
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
- Silenced irrelevant warnings issued by ``open_rasterio`` (:issue:`1964`).
Copy link
Member

Choose a reason for hiding this comment

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

This isn't only rasterio warning anymore, is it?

Copy link
Member Author

Choose a reason for hiding this comment

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

The other warnings only show up in our test suite, not to users. I'm not sure it's worth mentioning them.

@shoyer shoyer merged commit 3309588 into pydata:master Mar 9, 2018
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.

4 participants