Skip to content

--deselect does not work with tests inside classes #4127

Closed
@omnilinguist

Description

@omnilinguist

FYI @uSpike @nicoddemus @RonnyPfannschmidt @blueyed @Thisch

In #3201, the test case only seems to test --deselections of the form path/to/test_file.py::test_name. I validated that this works, but --deselections of the form path/to/test_file.py::TestClass::test_name do not work. How challenging would this be to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: collectionrelated to the collection phasetype: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions