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

Method writeorg

src/_pytest/capture.py:303–307  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

301 self._state = "started"
302
303 def writeorg(self, data) -> None:
304 self._assert_state("writeorg", ("started", "suspended"))
305 self._old.flush()
306 self._old.buffer.write(data)
307 self._old.buffer.flush()
308
309
310class SysCapture(SysCaptureBinary):

Callers

nothing calls this directly

Calls 3

_assert_stateMethod · 0.95
flushMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected