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

Method capstderr

src/_pytest/reports.py:138–145  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

136
137 @property
138 def capstderr(self) -> str:
139 """Return captured text from stderr, if capturing is enabled.
140
141 .. versionadded:: 3.0
142 """
143 return "".join(
144 content for (prefix, content) in self.get_sections("Captured stderr")
145 )
146
147 @property
148 def passed(self) -> bool:

Callers

nothing calls this directly

Calls 2

get_sectionsMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected