MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __init__

Method __init__

src/_pytest/fixtures.py:814–820  ·  view source on GitHub ↗
(
        self, argname: Optional[str], request: FixtureRequest, msg: Optional[str] = None
    )

Source from the content-addressed store, hash-verified

812 """Could not return a requested fixture (missing or invalid)."""
813
814 def __init__(
815 self, argname: Optional[str], request: FixtureRequest, msg: Optional[str] = None
816 ) -> None:
817 self.argname = argname
818 self.request = request
819 self.fixturestack = request._get_fixturestack()
820 self.msg = msg
821
822 def formatrepr(self) -> "FixtureLookupErrorRepr":
823 tblines: List[str] = []

Callers

nothing calls this directly

Calls 1

_get_fixturestackMethod · 0.80

Tested by

no test coverage detected