| 183 | |
| 184 | |
| 185 | class ReprFailDoctest(TerminalRepr): |
| 186 | def __init__( |
| 187 | self, reprlocation_lines: Sequence[Tuple[ReprFileLocation, Sequence[str]]] |
| 188 | ) -> None: |
| 189 | self.reprlocation_lines = reprlocation_lines |
| 190 | |
| 191 | def toterminal(self, tw: TerminalWriter) -> None: |
| 192 | for reprlocation, lines in self.reprlocation_lines: |
| 193 | for line in lines: |
| 194 | tw.line(line) |
| 195 | reprlocation.toterminal(tw) |
| 196 | |
| 197 | |
| 198 | class MultipleDoctestFailures(Exception): |
no outgoing calls
searching dependent graphs…