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:
commit
42804c52e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue