Update doc/en/deprecations.rst

This commit is contained in:
Bruno Oliveira 2024-11-18 15:30:34 -03:00 committed by GitHub
parent 1a5dbcb04d
commit 70e41cb2de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -379,8 +379,14 @@ Some breaking changes which could not be deprecated are also listed.
``yield`` tests
~~~~~~~~~~~~~~~
.. versionremoved:: 4.0
``yield`` tests ``xfail``.
.. versionremoved:: 8.4
``yield`` tests raise a collection error.
pytest no longer supports ``yield``-style tests, where a test function actually ``yield`` functions and values
that are then turned into proper test methods. Example: