Read-only property that returns the full string representation of ``longrepr``. .. versionadded:: 3.0
(self)
| 101 | |
| 102 | @property |
| 103 | def longreprtext(self) -> str: |
| 104 | """Read-only property that returns the full string representation of |
| 105 | ``longrepr``. |
| 106 | |
| 107 | .. versionadded:: 3.0 |
| 108 | """ |
| 109 | file = StringIO() |
| 110 | tw = TerminalWriter(file) |
| 111 | tw.hasmarkup = False |
| 112 | self.toterminal(tw) |
| 113 | exc = file.getvalue() |
| 114 | return exc.strip() |
| 115 | |
| 116 | @property |
| 117 | def caplog(self) -> str: |
nothing calls this directly
no test coverage detected