We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1dc3db commit 088718aCopy full SHA for 088718a
src/_pytest/fixtures.py
@@ -345,11 +345,6 @@ def prune_dependency_tree(self) -> None:
345
working_set = set(self.initialnames)
346
while working_set:
347
argname = working_set.pop()
348
- # Argname may be something not included in the original names_closure,
349
- # in which case we ignore it. This currently happens with pseudo
350
- # FixtureDefs which wrap 'get_direct_param_fixture_func(request)'.
351
- # So they introduce the new dependency 'request' which might have
352
- # been missing in the original tree (closure).
353
if argname not in closure and argname in self.names_closure:
354
closure.add(argname)
355
if argname in self.name2fixturedefs:
0 commit comments