Skip to content

[self-tests] tests fail against Pytest 9 #1030

Open

Description

______________________ ERROR collecting tests/benchmarks _______________________
/usr/lib/python3/site-packages/pluggy/_manager.py:168: in register
    self._verify_hook(hook, hookimpl)
/usr/lib/python3/site-packages/pluggy/_manager.py:355: in _verify_hook
    _warn_for_function(argname_warning, hookimpl.function)
/usr/lib/python3/site-packages/pluggy/_manager.py:41: in _warn_for_function
    warnings.warn_explicit(
E   pytest.PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (collection_path: pathlib.Path)
E   see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

py.path.local arguments for hooks replaced with pathlib.Path
Deprecated since version 7.0.
Removed in version 9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions