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

Method fill_unfilled

src/_pytest/_code/code.py:522–525  ·  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

520 return cls(None, _ispytest=True)
521
522 def fill_unfilled(self, exc_info: Tuple[Type[E], E, TracebackType]) -> None:
523 """Fill an unfilled ExceptionInfo created with ``for_later()``."""
524 assert self._excinfo is None, "ExceptionInfo was already filled"
525 self._excinfo = exc_info
526
527 @property
528 def type(self) -> Type[E]:

Callers 1

__exit__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected