(self)
| 600 | return isinstance(self.value, exc) |
| 601 | |
| 602 | def _getreprcrash(self) -> "ReprFileLocation": |
| 603 | exconly = self.exconly(tryshort=True) |
| 604 | entry = self.traceback.getcrashentry() |
| 605 | path, lineno = entry.frame.code.raw.co_filename, entry.lineno |
| 606 | return ReprFileLocation(path, lineno + 1, exconly) |
| 607 | |
| 608 | def getrepr( |
| 609 | self, |
no test coverage detected