Skip to content

clarify docs re: usefixtures #3713

@notestaff

Description

@notestaff

At https://docs.pytest.org/en/latest/reference.html#pytest-mark-usefixtures
it says
Mark a test function as using the given fixture names.

Warning
This mark can be used with test functions only

But this mark can also be used with test classes -- maybe mention that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributortype: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions