Improve changelog

This commit is contained in:
Bruno Oliveira 2022-10-09 20:03:10 -03:00
parent 52ba1d164f
commit 2723e0d6fe
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
make PytestReturnNotNoneWarning a RemovedIn8Warning
:class:`~pytest.PytestReturnNotNoneWarning` is now a subclass of :class:`~pytest.PytestRemovedIn8Warning`: the plan is to make returning non-``None`` from tests an error in the future.

View File

@ -1133,6 +1133,9 @@ Custom warnings generated in some situations such as improper usage or deprecate
.. autoclass:: pytest.PytestReturnNotNoneWarning
:show-inheritance:
.. autoclass:: pytest.PytestRemovedIn8Warning
:show-inheritance:
.. autoclass:: pytest.PytestUnhandledCoroutineWarning
:show-inheritance: