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

Method __init__

src/_pytest/runner.py:470–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

468 """
469
470 def __init__(self) -> None:
471 # The stack is in the dict insertion order.
472 self.stack: Dict[
473 Node,
474 Tuple[
475 # Node's finalizers.
476 List[Callable[[], object]],
477 # Node's exception, if its setup raised.
478 Optional[Union[OutcomeException, Exception]],
479 ],
480 ] = {}
481
482 def setup(self, item: Item) -> None:
483 """Setup objects along the collector chain to the item."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected