-
Notifications
You must be signed in to change notification settings - Fork 371
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
Vendor test decorator from MPL? #2020
Comments
So it looks like
(Did I miss anything?) I don't know that we need any of that, except maybe the warning handling (which actually comes from the stdlib). So I'm wondering if we could just completely remove all uses? |
I agree with removing the cleanup decorator if possible. It works for me locally at least, see #2023 |
We don't need this either; it's caught by pytest. |
Thanks all! Seems like it can work without it then. (The test failures in #2023 seems unrelated, so far.) (This would then go in MPL 3.6, which is quite some time ahead, so should be plenty of time to get a Cartopy release out, if required. I guess all of you are at least as updated as I am when it comes to MPL releases, but in case someone else happens to see this.) |
Description
Matplotlib may deprecate the
@cleanup
test decorator matplotlib/matplotlib#22697 as it is no longer used in the Matplotlib code base. It was noted that Cartopy uses it, so my question now is where it should be vendored. To me it seems like creating a new file eithertesting.py
ordecorators.py
may be options, possibly in thempl
directory. Or just add it toutils.py
.Any preferences?
(I can provide a PR, just in case.)
The text was updated successfully, but these errors were encountered: