Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deprecate unused testing cleanup mechanisms #14329

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

Closed
timhoffm opened this issue May 26, 2019 · 2 comments
Closed

Deprecate unused testing cleanup mechanisms #14329

timhoffm opened this issue May 26, 2019 · 2 comments

Comments

@timhoffm
Copy link
Member

timhoffm commented May 26, 2019

The class matplotlib.testing.decorators.CleanupTestCase and the decorator matplotlib.testing.decorators.cleanup are not used in the code base. We have an automatic cleanup via an auto-used fixture instead.

Can we deprecate them or are they considered part of the user-facing API for testing?

@anntzer
Copy link
Contributor

anntzer commented May 26, 2019

matplotlib.testing is written in a (somewhat) testing-framework-agnostic way. I don't think pytest really risks going away anytime soon, but I think it would be nice to keep some equivalent functionality that's independent of pytest (in fact I have a PR in the works to make more of the testing tooling independent of pytest, while makings things shorter :)).

@jklymak
Copy link
Member

jklymak commented Apr 7, 2020

@anntzer has plans for this so lets keep around.

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

Successfully merging a pull request may close this issue.

4 participants