Skip to content

Commit

Permalink
Merge pull request #11803 from pytest-dev/package-scope-note
Browse files Browse the repository at this point in the history
Add note about package scope
  • Loading branch information
bluetech authored Jan 12, 2024
2 parents 5645fa4 + 82fda31 commit 1b78de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/en/how-to/fixtures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Fixtures are created when first requested by a test, and are destroyed based on
* ``function``: the default scope, the fixture is destroyed at the end of the test.
* ``class``: the fixture is destroyed during teardown of the last test in the class.
* ``module``: the fixture is destroyed during teardown of the last test in the module.
* ``package``: the fixture is destroyed during teardown of the last test in the package.
* ``package``: the fixture is destroyed during teardown of the last test in the package where the fixture is defined, including sub-packages and sub-directories within it.
* ``session``: the fixture is destroyed at the end of the test session.

.. note::
Expand Down

0 comments on commit 1b78de4

Please sign in to comment.