Merged in bmcorser/pytest-1/bmcorser/scratching-an-itch-love-pytest-1404943207227 (pull request #178)

Scratching an itch. Love py.test!
This commit is contained in:
holger krekel 2014-07-10 09:00:24 +02:00
commit 42804c52e8
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
.. _yieldfixture:
Fixture functions using "yield" / context manager integration
@ -54,7 +53,7 @@ Let's run it with output capturing disabled::
1 passed in 0.00 seconds
We can also seemlessly use the new syntax with ``with`` statements.
We can also seamlessly use the new syntax with ``with`` statements.
Let's simplify the above ``passwd`` fixture::
# content of test_yield2.py