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

Class TeeCaptureIO

src/_pytest/capture.py:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177
178class TeeCaptureIO(CaptureIO):
179 def __init__(self, other: TextIO) -> None:
180 self._other = other
181 super().__init__()
182
183 def write(self, s: str) -> int:
184 super().write(s)
185 return self._other.write(s)
186
187
188class DontReadFromInput:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected