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

Fix WARNING: PytestDeprecationWarning: The hookimpl CovPlugin.pytest_testnodedown #2

Open
juanyque opened this issue Aug 25, 2023 · 0 comments

Comments

@juanyque
Copy link
Owner

Running tests with ./docker_test.sh, we can see a warning in al python versions:

.venv/lib/python3.10/site-packages/pytest_cov/plugin.py:242
  /app/.venv/lib/python3.10/site-packages/pytest_cov/plugin.py:242: PytestDeprecationWarning: The hookimpl CovPlugin.pytest_testnodedown uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(optionalhook=True) decorator instead
   to configure the hooks.
   See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
    def pytest_testnodedown(self, node, error):
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

No branches or pull requests

1 participant