diff --git a/tests/linux/conftest.py b/tests/linux/conftest.py index 038203f..3283724 100644 --- a/tests/linux/conftest.py +++ b/tests/linux/conftest.py @@ -8,7 +8,7 @@ # ignore all tests in this folder if not on linux -def pytest_ignore_collect(path, config): +def pytest_ignore_collect(collection_path, config): if not sys.platform.startswith("linux"): return True diff --git a/tests/windows/conftest.py b/tests/windows/conftest.py index 492d7d7..e0264e8 100644 --- a/tests/windows/conftest.py +++ b/tests/windows/conftest.py @@ -4,7 +4,7 @@ # ignore all tests in this folder if not on windows -def pytest_ignore_collect(path, config): +def pytest_ignore_collect(collection_path, config): if sys.platform not in ("win32", "cygwin"): return True