Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe528d3

Browse files
committed
Update conftest.py
The (path: py.path.local) argument is deprecated, please use (collection_path: pathlib.Path) see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
1 parent 409f97e commit fe528d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/benchmarks/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
warn = True
88

99
@pytest.hookimpl
10-
def pytest_ignore_collect(path, config):
10+
def pytest_ignore_collect(collection_path, config):
1111
if config.pluginmanager.hasplugin("pytest-benchmark"):
1212
return False
1313
else:

0 commit comments

Comments
 (0)