Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drop deprecated parameter #136

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Oct 1, 2024

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

    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 <[email protected]>
@pebenito pebenito merged commit f86da4a into SELinuxProject:main Oct 1, 2024
9 checks passed
@cgzones cgzones deleted the deprecated branch October 1, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants