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: TracebackStyle | None = None,
)
| 456 | ) |
| 457 | |
| 458 | def repr_failure( |
| 459 | self, |
| 460 | excinfo: ExceptionInfo[BaseException], |
| 461 | style: TracebackStyle | None = None, |
| 462 | ) -> str | TerminalRepr: |
| 463 | """Return a representation of a collection or test failure. |
| 464 | |
| 465 | .. seealso:: :ref:`non-python tests` |
| 466 | |
| 467 | :param excinfo: Exception information for the failure. |
| 468 | """ |
| 469 | return self._repr_failure_py(excinfo, style) |
| 470 | |
| 471 | |
| 472 | def get_fslocation_from_item(node: Node) -> tuple[str | Path, int | None]: |
no test coverage detected