(self)
| 963 | @attr.s(eq=False, auto_attribs=True) |
| 964 | class TerminalRepr: |
| 965 | def __str__(self) -> str: |
| 966 | # FYI this is called from pytest-xdist's serialization of exception |
| 967 | # information. |
| 968 | io = StringIO() |
| 969 | tw = TerminalWriter(file=io) |
| 970 | self.toterminal(tw) |
| 971 | return io.getvalue().strip() |
| 972 | |
| 973 | def __repr__(self) -> str: |
| 974 | return f"<{self.__class__} instance at {id(self):0x}>" |
nothing calls this directly
no test coverage detected