Skip to content

Commit aa145fa

Browse files
committed
Add 'invocation' scope option to fixture docstring
1 parent 76fbc63 commit aa145fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pytest/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
836836
function will be injected.
837837
838838
:arg scope: the scope for which this fixture is shared, one of
839-
"function" (default), "class", "module", "session".
839+
"function" (default), "class", "module", "session" or "invocation".
840840
841841
:arg params: an optional list of parameters which will cause multiple
842842
invocations of the fixture function and all of the tests

0 commit comments

Comments
 (0)