Skip to content

Warnings from conftest.py should show up in warning summary #2891

Closed
@drdavella

Description

@drdavella

Right now if a conftest.py (or a module it imports) issues a warning, it does not show up in the warnings summary. Since conftest.py can be used to load plugins from other packages, it would be useful to be able to issue DeprecationWarnings and other warnings that are actually visible when pytest is run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: warningsrelated to the warnings builtin plugintype: 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