mirror of https://github.com/pytest-dev/pytest.git
Update doc/en/deprecations.rst
This commit is contained in:
parent
1a5dbcb04d
commit
70e41cb2de
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue