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

Method addsection

src/_pytest/_code/code.py:1286–1287  ·  view source on GitHub ↗
(self, name: str, content: str, sep: str = "-")

Source from the content-addressed store, hash-verified

1284 )
1285
1286 def addsection(self, name: str, content: str, sep: str = "-") -> None:
1287 self.sections.append((name, content, sep))
1288
1289 def toterminal(self, tw: TerminalWriter) -> None:
1290 for name, content, sep in self.sections:

Callers 3

_report_kwargs_from_jsonFunction · 0.80

Calls 1

appendMethod · 0.80

Tested by 2