Skip to content

Deprecate unused testing cleanup mechanisms #14329

Closed

Description

@timhoffm

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?

Activity

  1. anntzer commented on May 26, 2019

    @anntzer
    Contributor

    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 :)).

  2. jklymak commented on Apr 7, 2020

    @jklymak
    Member

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions