Skip to content

The hookimpl pytest_configure uses old-style configuration options #28

@mtelka

Description

@mtelka

I tried to run tests for pytest-subprocess with the pytest-relaxed installed and one test failed there with this error:

E           pytest.PytestDeprecationWarning: The hookimpl pytest_configure uses old-style configuration options (marks or attributes).
E           Please use the pytest.hookimpl(trylast=True) decorator instead
E            to configure the hooks.
E            See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
E            at /usr/lib/python3.9/vendor-packages/pytest_relaxed/plugin.py:40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions