diff --git a/changelog/11868.bugfix.rst b/changelog/11868.bugfix.rst new file mode 100644 index 000000000..9b18d4d9c --- /dev/null +++ b/changelog/11868.bugfix.rst @@ -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. diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py index d7d8a720b..13576f5fc 100644 --- a/src/_pytest/fixtures.py +++ b/src/_pytest/fixtures.py @@ -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