Remove deprecated pytest_warning_captured hook

This commit is contained in:
Ran Benita
2021-12-07 22:00:31 +02:00
parent 0b0e2d2dbb
commit 41d8fb09ca
7 changed files with 17 additions and 72 deletions

View File

@@ -46,11 +46,6 @@ MINUS_K_COLON = PytestRemovedIn7Warning(
"Please open an issue if you use this and want a replacement."
)
WARNING_CAPTURED_HOOK = PytestRemovedIn7Warning(
"The pytest_warning_captured is deprecated and will be removed in a future release.\n"
"Please use pytest_warning_recorded instead."
)
WARNING_CMDLINE_PREPARSE_HOOK = PytestRemovedIn8Warning(
"The pytest_cmdline_preparse hook is deprecated and will be removed in a future release. \n"
"Please use pytest_load_initial_conftests hook instead."