MCPcopy Create free account
hub / github.com/pytest-dev/pytest / _write_source

Method _write_source

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

Source from the content-addressed store, hash-verified

82 self.lines.append((TWMock.WRITE, msg))
83
84 def _write_source(self, lines, indents=()):
85 if not indents:
86 indents = [""] * len(lines)
87 for indent, line in zip(indents, lines):
88 self.line(indent + line)
89
90 def line(self, line, **kw):
91 self.lines.append(line)

Callers

nothing calls this directly

Calls 1

lineMethod · 0.95

Tested by

no test coverage detected