Skip to content

Commit 102360b

Browse files
authored
Merge pull request #7519 from hroncok/pytest_warning_captured_deprecated
List pytest_warning_captured in deprecated things for 6.0.0rc1
2 parents 2a8dcc9 + fbeb362 commit 102360b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/en/changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ Deprecations
140140
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
141141
if you use this and want a replacement.
142142

143+
- `#4049 <https://github.com/pytest-dev/pytest/issues/4049>`_: ``pytest_warning_captured`` is deprecated in favor of the ``pytest_warning_recorded`` hook.
144+
143145

144146
Features
145147
--------
@@ -177,7 +179,7 @@ Features
177179

178180
- `#4049 <https://github.com/pytest-dev/pytest/issues/4049>`_: Introduced a new hook named `pytest_warning_recorded` to convey information about warnings captured by the internal `pytest` warnings plugin.
179181

180-
This hook is meant to replace `pytest_warning_captured`, which will be removed in a future release.
182+
This hook is meant to replace `pytest_warning_captured`, which is deprecated and will be removed in a future release.
181183

182184

183185
- `#6471 <https://github.com/pytest-dev/pytest/issues/6471>`_: New command-line flags:

0 commit comments

Comments
 (0)