(self, lines, indents=())
| 109 | self.lines.append((TWMock.WRITE, msg)) |
| 110 | |
| 111 | def _write_source(self, lines, indents=()): |
| 112 | if not indents: |
| 113 | indents = [""] * len(lines) |
| 114 | for indent, line in zip(indents, lines, strict=True): |
| 115 | self.line(indent + line) |
| 116 | |
| 117 | def line(self, line, **kw): |
| 118 | self.lines.append(line) |