MCPcopy
hub / github.com/pytest-dev/pytest / _write_source

Method _write_source

testing/conftest.py:111–115  ·  view source on GitHub ↗
(self, lines, indents=())

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

lineMethod · 0.95

Tested by

no test coverage detected