Reintroduce default value for ignore_args argument of FixtureManager.getfixtureclosure

Fix #11868
This commit is contained in:
Bruno Oliveira 2024-01-29 21:15:45 -03:00 committed by Bruno Oliveira
parent cb57bf50b1
commit 571e50634c
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Reintroduced the default value for the ``ignore_args`` of internal ``FixtureManager.getfixtureclosure``: even though it is an internal API, it was changed by accident in 8.0.0 and this broken a number of plugins.

View File

@ -1524,7 +1524,7 @@ class FixtureManager:
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