Skip to content

Document that pytest.warns affects default DeprecationWarning processing #9291

@nicoddemus

Description

@nicoddemus

As discussed in #9288 (comment), using pytest.warns will by design also capture DeprecationWarnings which would by default be captured by pytest.

We should add a note about that in pytest.warns and the section about DeprecationWarnings handling.

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