Use modern options configurations for hooks
Noticed while reviewing https://github.com/pytest-dev/pytest/pull/9118
This commit is contained in:
1
changelog/708.trivial.rst
Normal file
1
changelog/708.trivial.rst
Normal file
@@ -0,0 +1 @@
|
||||
Use ``@pytest.hookspec`` decorator to declare hook options in ``newhooks.py`` to avoid warnings in ``pytest 7.0``.
|
||||
Reference in New Issue
Block a user