Skip to content

Commit bdad345

Browse files
committed
Fix passing request to finish() in FixtureDef
1 parent 063335a commit bdad345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pytest/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def execute(self, request):
785785
return result
786786
# we have a previous but differently parametrized fixture instance
787787
# so we need to tear it down before creating a new one
788-
self.finish()
788+
self.finish(request)
789789
assert not hasattr(self, "cached_result")
790790

791791
hook = self._fixturemanager.session.gethookproxy(request.node.fspath)

0 commit comments

Comments
 (0)