Update doc/en/deprecations.rst

Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
Cheuk Ting Ho 2022-05-20 11:19:49 +01:00 committed by GitHub
parent aecdc3917b
commit 78e0b67ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ See :ref:`warns use cases` for examples.
Returning non-None value in test functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. deprecated:: 7.0
.. deprecated:: 7.2
A :class:`pytest.PytestReturnNotNoneWarning` is now emitted if a test function returns something other than `None`.