Removed note about yield fixtures being experimental
--HG-- branch : yield-experimental-docs
This commit is contained in:
parent
e16983d265
commit
c1b935adbd
|
@ -11,14 +11,6 @@ pytest-2.4 allows fixture functions to seamlessly use a ``yield`` instead
|
|||
of a ``return`` statement to provide a fixture value while otherwise
|
||||
fully supporting all other fixture features.
|
||||
|
||||
.. note::
|
||||
|
||||
"yielding" fixture values is an experimental feature and its exact
|
||||
declaration may change later but earliest in a 2.5 release. You can thus
|
||||
safely use this feature in the 2.4 series but may need to adapt later.
|
||||
Test functions themselves will not need to change (as a general
|
||||
feature, they are ignorant of how fixtures are setup).
|
||||
|
||||
Let's look at a simple standalone-example using the new ``yield`` syntax::
|
||||
|
||||
# content of test_yield.py
|
||||
|
|
Loading…
Reference in New Issue