Return a representation of a collection or test failure. .. seealso:: :ref:`non-python tests` :param excinfo: Exception information for the failure.
(
self,
excinfo: ExceptionInfo[BaseException],
style: "Optional[_TracebackStyle]" = None,
)
| 482 | ) |
| 483 | |
| 484 | def repr_failure( |
| 485 | self, |
| 486 | excinfo: ExceptionInfo[BaseException], |
| 487 | style: "Optional[_TracebackStyle]" = None, |
| 488 | ) -> Union[str, TerminalRepr]: |
| 489 | """Return a representation of a collection or test failure. |
| 490 | |
| 491 | .. seealso:: :ref:`non-python tests` |
| 492 | |
| 493 | :param excinfo: Exception information for the failure. |
| 494 | """ |
| 495 | return self._repr_failure_py(excinfo, style) |
| 496 | |
| 497 | |
| 498 | def get_fslocation_from_item(node: "Node") -> Tuple[Union[str, Path], Optional[int]]: |
no test coverage detected