Skip to content

Commit 7daed1e

Browse files
committed
tests: drop deprecated parameter
tests/gui/conftest.py:20 setools/tests/gui/conftest.py:20: PytestRemovedIn9Warning: 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 def pytest_ignore_collect(collection_path: pathlib.Path, path, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
1 parent 305c8fa commit 7daed1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/gui/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
have_pqtestqt = False
1818

1919

20-
def pytest_ignore_collect(collection_path: pathlib.Path, path,
20+
def pytest_ignore_collect(collection_path: pathlib.Path,
2121
config: pytest.Config) -> bool | None:
2222

2323
"""Ignore GUI tests if DISPLAY is not set or PyQt is not available."""

0 commit comments

Comments
 (0)