Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The hookimpl pytest_configure uses old-style configuration options #28

Open
mtelka opened this issue Aug 17, 2023 · 0 comments · May be fixed by #29
Open

The hookimpl pytest_configure uses old-style configuration options #28

mtelka opened this issue Aug 17, 2023 · 0 comments · May be fixed by #29

Comments

@mtelka
Copy link

mtelka commented Aug 17, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant