MCPcopy
hub / github.com/pytest-dev/pytest / __init__

Method __init__

src/_pytest/fixtures.py:774–781  ·  view source on GitHub ↗
(self, pyfuncitem: Function, *, _ispytest: bool = False)

Source from the content-addressed store, hash-verified

772 """The type of the ``request`` fixture in a test function."""
773
774 def __init__(self, pyfuncitem: Function, *, _ispytest: bool = False) -> None:
775 super().__init__(
776 fixturename=None,
777 pyfuncitem=pyfuncitem,
778 arg2fixturedefs=pyfuncitem._fixtureinfo.name2fixturedefs,
779 fixture_defs={},
780 _ispytest=_ispytest,
781 )
782
783 @property
784 def _scope(self) -> Scope:

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected