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

Method fill_unfilled

src/_pytest/_code/code.py:593–596  ·  view source on GitHub ↗

Fill an unfilled ExceptionInfo created with ``for_later()``.

(self, exc_info: tuple[type[E], E, TracebackType])

Source from the content-addressed store, hash-verified

591 return cls(None, _ispytest=True)
592
593 def fill_unfilled(self, exc_info: tuple[type[E], E, TracebackType]) -> None:
594 """Fill an unfilled ExceptionInfo created with ``for_later()``."""
595 assert self._excinfo is None, "ExceptionInfo was already filled"
596 self._excinfo = exc_info
597
598 @property
599 def type(self) -> type[E]:

Callers 2

__exit__Method · 0.80
__exit__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected