Skip to content

Commit

Permalink
Reintroduce default value for ignore_args argument of FixtureManager.…
Browse files Browse the repository at this point in the history
…getfixtureclosure

Fix pytest-dev#11868
  • Loading branch information
nicoddemus committed Jan 30, 2024
1 parent c0dfc45 commit aebadef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ def getfixtureclosure(
self,
parentnode: nodes.Node,
initialnames: Tuple[str, ...],
ignore_args: AbstractSet[str],
ignore_args: AbstractSet[str] = frozenset(),
) -> Tuple[List[str], Dict[str, Sequence[FixtureDef[Any]]]]:
# Collect the closure of all fixtures, starting with the given
# fixturenames as the initial set. As we have to visit all
Expand Down

0 comments on commit aebadef

Please sign in to comment.