From fbeb36226f7286760116c448f9a2b33401b48383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 20 Jul 2020 13:41:28 +0200 Subject: [PATCH] List pytest_warning_captured in deprecated things for 6.0.0rc1 --- doc/en/changelog.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index ef5528f69c6..5492f80a308 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -140,6 +140,8 @@ Deprecations The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue if you use this and want a replacement. +- `#4049 `_: ``pytest_warning_captured`` is deprecated in favor of the ``pytest_warning_recorded`` hook. + Features -------- @@ -177,7 +179,7 @@ Features - `#4049 `_: Introduced a new hook named `pytest_warning_recorded` to convey information about warnings captured by the internal `pytest` warnings plugin. - This hook is meant to replace `pytest_warning_captured`, which will be removed in a future release. + This hook is meant to replace `pytest_warning_captured`, which is deprecated and will be removed in a future release. - `#6471 `_: New command-line flags: