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

Method get_sections

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

Source from the content-addressed store, hash-verified

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

Callers 3

caplogMethod · 0.95
capstdoutMethod · 0.95
capstderrMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected