Skip to content

Commit 334b96c

Browse files
author
Duncan Betts
committed
Improved description of functionality for Issue pytest-dev#687
1 parent 0735d45 commit 334b96c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/en/fixture.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ the ``with`` statement ends.
318318
request.addfinalizer(fin)
319319
return smtp # provide the fixture value
320320

321-
The ``fin`` function will execute when the last test using
322-
the fixture in the module has finished execution.
321+
The ``fin`` function will execute when the last test in the module has finished execution.
323322

324323
This method is still fully supported, but ``yield`` is recommended from 2.10 onward because
325324
it is considered simpler and better describes the natural code flow.

0 commit comments

Comments
 (0)