[Pytest-commit] commit/pytest: nicoddemus: Removed note about yield fixtures being experimental
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Apr 3 21:29:40 CEST 2015
1 new commit in pytest:
https://bitbucket.org/pytest-dev/pytest/commits/60008bd048a5/
Changeset: 60008bd048a5
Branch: yield-experimental-docs
User: nicoddemus
Date: 2015-04-03 19:28:20+00:00
Summary: Removed note about yield fixtures being experimental
Affected #: 1 file
diff -r 0de3f5c1a683a834d27b265d5e8781326d5dad04 -r 60008bd048a58852c513d129a0b8093cb9fc552b doc/en/yieldfixture.txt
--- a/doc/en/yieldfixture.txt
+++ b/doc/en/yieldfixture.txt
@@ -9,15 +9,7 @@
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).
+fully supporting all other fixture features.
Let's look at a simple standalone-example using the new ``yield`` syntax::
Repository URL: https://bitbucket.org/pytest-dev/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list