Edit fixtures.rst to not modify previous lines.
This commit is contained in:
parent
d5edb31423
commit
84d89969fb
|
@ -680,8 +680,6 @@ So to make sure we don't run the finalizer code when we wouldn't need to, we
|
||||||
would only add the finalizer once the fixture would have done something that
|
would only add the finalizer once the fixture would have done something that
|
||||||
we'd need to teardown.
|
we'd need to teardown.
|
||||||
|
|
||||||
Here's how the previous example would look using the ``addfinalizer`` method:
|
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
# content of test_emaillib.py
|
# content of test_emaillib.py
|
||||||
|
|
Loading…
Reference in New Issue