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

Method capstdout

src/_pytest/reports.py:128–135  ·  view source on GitHub ↗

Return captured text from stdout, if capturing is enabled. .. versionadded:: 3.0

(self)

Source from the content-addressed store, hash-verified

126
127 @property
128 def capstdout(self) -> str:
129 """Return captured text from stdout, if capturing is enabled.
130
131 .. versionadded:: 3.0
132 """
133 return "".join(
134 content for (prefix, content) in self.get_sections("Captured stdout")
135 )
136
137 @property
138 def capstderr(self) -> str:

Callers

nothing calls this directly

Calls 2

get_sectionsMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected