Skip to content

Document UsageError #4560

@allanlewis

Description

@allanlewis

The exception pytest.UsageError is useful for validating that required options (specified in pytest_addoption) are set, or that other environmental factors are sane. However, it's currently undocumented: perhaps it should be added to the public API and therefore the published documentation?

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