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 522d59e commit a63b34cCopy full SHA for a63b34c
_pytest/fixtures.py
@@ -783,7 +783,9 @@ def execute(self, request):
783
self.finish()
784
assert not hasattr(self, "cached_result")
785
786
- hook = self._fixturemanager.session.config.hook
+ hook = self._fixturemanager.session.gethookproxy(
787
+ request._pyfuncitem.fspath
788
+ )
789
return hook.pytest_fixture_setup(fixturedef=self, request=request)
790
791
def __repr__(self):
0 commit comments