fixtures: deprecate pytest._fillfuncargs function

This function is exposed and kept alive for the oejskit plugin which is
abandoned and no longer works with recent plugins, so let's prepare to
completely remove it.
This commit is contained in:
Ran Benita
2020-04-17 16:05:43 +03:00
parent 7d5f5a8785
commit 907e29a47b
8 changed files with 41 additions and 6 deletions

View File

@@ -1535,7 +1535,7 @@ class Function(PyobjMixin, nodes.Item):
if isinstance(self.parent, Instance):
self.parent.newinstance()
self.obj = self._getobj()
fixtures.fillfixtures(self)
self._request._fillfixtures()
def _prunetraceback(self, excinfo: ExceptionInfo) -> None:
if hasattr(self, "_obj") and not self.config.getoption("fulltrace", False):