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

Skip to content

[MNT]: Remove examples with test in name and create actual tests if useful #23281

Open
@matthewfeickert

Description

@matthewfeickert

I suspect that these files are the remnants of the pre-nose world where the "tests" were some scripts you ran to see if they worked so they really were written to be tests. Not sure if they were accidentally or intentionally not migrated to units tests when nose was adopted?

It looks like evans_test.py came in to being via f2a0c7a , I strongly suggest this was an example suggest by some with some part of the name as Evan or Evans. Searching discourse from about that time gets https://discourse.matplotlib.org/t/bar-plot-forget-units-information/7884 which will not quite the same, suggests that a James Evans was interested in units in ~2007 so it is plausible the file is named after their needs!

I think the comprise I would prefer here is to rename the files (to make pytest happy) but leave the headings as they are (to be as clear as we have currently been) about what these files are actually for.

Originally posted by @tacaswell in #23219 (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