(
self,
result: Optional[TResult],
excinfo: Optional[ExceptionInfo[BaseException]],
start: float,
stop: float,
duration: float,
when: "Literal['collect', 'setup', 'call', 'teardown']",
*,
_ispytest: bool = False,
)
| 283 | when: "Literal['collect', 'setup', 'call', 'teardown']" |
| 284 | |
| 285 | def __init__( |
| 286 | self, |
| 287 | result: Optional[TResult], |
| 288 | excinfo: Optional[ExceptionInfo[BaseException]], |
| 289 | start: float, |
| 290 | stop: float, |
| 291 | duration: float, |
| 292 | when: "Literal['collect', 'setup', 'call', 'teardown']", |
| 293 | *, |
| 294 | _ispytest: bool = False, |
| 295 | ) -> None: |
| 296 | check_ispytest(_ispytest) |
| 297 | self._result = result |
| 298 | self.excinfo = excinfo |
| 299 | self.start = start |
| 300 | self.stop = stop |
| 301 | self.duration = duration |
| 302 | self.when = when |
| 303 | |
| 304 | @property |
| 305 | def result(self) -> TResult: |
nothing calls this directly
no test coverage detected