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

Method get_sections

src/_pytest/reports.py:98–101  ·  view source on GitHub ↗
(self, prefix: str)

Source from the content-addressed store, hash-verified

96 out.line(s)
97
98 def get_sections(self, prefix: str) -> Iterator[tuple[str, str]]:
99 for name, content in self.sections:
100 if name.startswith(prefix):
101 yield prefix, content
102
103 @property
104 def longreprtext(self) -> str:

Callers 4

caplogMethod · 0.95
capstdoutMethod · 0.95
capstderrMethod · 0.95

Calls

no outgoing calls

Tested by 1