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
Deprecation check #948
Deprecation check #948
Conversation
metpy/testing.py
Outdated
def wrapper(*args, **kwargs): | ||
with pytest.warns(MetpyDeprecationWarning): | ||
return func(*args, **kwargs) | ||
return wrapper |
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.
W292 no newline at end of file
a1bab07
to
5e7a6ee
Compare
5e7a6ee
to
766fde9
Compare
Failing as the doctests hit deprecation warnings everywhere and we can't exactly decorate those.... Hmmm. Might have to specify the warning filter in the CI configs 😭 |
dc5b592
to
9c96d84
Compare
Ok should be solid now. |
To be clear, this doesn't require a new pytest plugin? |
I does not appear to in my testing |
Will check for MetPy deprecation warnings to ensure we don't ship things calling deprecated code. Closes #934. Will need to be merged after the rest of the 0.9.2 related items.