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

Method capstdout

src/_pytest/reports.py:127–134  ·  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

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

Callers

nothing calls this directly

Calls 1

get_sectionsMethod · 0.95

Tested by

no test coverage detected