-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
pytest hook reference - pytest_cmdline_preparse deprecated #3022
Comments
GitMate.io thinks the contributor most likely able to help you is @nicoddemus. |
I don't know so I dug around a little, it seems that deprecation was introduced in db6f347 with the introduction of |
Thanks @nicoddemus ! |
Also mention which hook to use instead of the deprecated pytest_cmdline_preparse Fix pytest-dev#3022
@nicoddemus the documentation uses https://docs.pytest.org/en/latest/example/simple.html#dynamically-adding-command-line-options Should it be updated to use |
Unfortunately |
pytest documentation mentions that
pytest_cmdline_preparse
hook will be deprecated.Reference:
https://docs.pytest.org/en/latest/writing_plugins.html#_pytest.hookspec.pytest_cmdline_preparse
Question
What is the alternative to this hook moving forward?
The text was updated successfully, but these errors were encountered: