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

Method __init__

src/_pytest/threadexception.py:36–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 """
35
36 def __init__(self) -> None:
37 self.args: Optional["threading.ExceptHookArgs"] = None
38 self._old_hook: Optional[Callable[["threading.ExceptHookArgs"], Any]] = None
39
40 def _hook(self, args: "threading.ExceptHookArgs") -> None:
41 self.args = args

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected