Skip to content

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

@stanislavlevin

Description

@stanislavlevin
______________________ 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.

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