( # type: ignore[override]
self,
excinfo: ExceptionInfo[BaseException],
)
| 1743 | |
| 1744 | # TODO: Type ignored -- breaks Liskov Substitution. |
| 1745 | def repr_failure( # type: ignore[override] |
| 1746 | self, |
| 1747 | excinfo: ExceptionInfo[BaseException], |
| 1748 | ) -> Union[str, TerminalRepr]: |
| 1749 | style = self.config.getoption("tbstyle", "auto") |
| 1750 | if style == "auto": |
| 1751 | style = "long" |
| 1752 | return self._repr_failure_py(excinfo, style=style) |
| 1753 | |
| 1754 | |
| 1755 | class FunctionDefinition(Function): |
nothing calls this directly
no test coverage detected