Skip to content

Commit a4a30ae

Browse files
authored
Merge pull request #2123 from oscarh/documentation-issue-687
Also update yield teardown for Issue #687
2 parents 3a0a1d2 + f42a954 commit a4a30ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/en/fixture.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ the code after the *yield* statement serves as the teardown code.::
257257
print("teardown smtp")
258258
smtp.close()
259259

260-
The ``print`` and ``smtp.close()`` statements will execute when the last test using
261-
the fixture in the module has finished execution, regardless of the exception status of the tests.
260+
The ``print`` and ``smtp.close()`` statements will execute when the last test in
261+
the module has finished execution, regardless of the exception status of the
262+
tests.
262263

263264
Let's execute it::
264265

0 commit comments

Comments
 (0)