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

Fix usage of deprecated startdir parameter #278

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. Fix usage of deprecated startdir parameter

    Use the start_path parameter instead of startdir for Pytest 7 or newer,
    since Pytest 7 yields the following deprecation warning if startdir is
    being used:
    
        site-packages/pytest_sugar.py:279: PytestRemovedIn8Warning:
        The (startdir: py.path.local) argument is deprecated, please
        use (start_path: pathlib.Path)
    
    Details of the Pytest deprecation can be found from:
    https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
    
    Fixes Teemu#232
    suutari-ai committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    52aa761 View commit details
    Browse the repository at this point in the history