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

Method writeorg

src/_pytest/capture.py:440–444  ·  view source on GitHub ↗
(self, data: bytes)

Source from the content-addressed store, hash-verified

438 return res
439
440 def writeorg(self, data: bytes) -> None:
441 self._assert_state("writeorg", ("started", "suspended"))
442 self._old.flush()
443 self._old.buffer.write(data)
444 self._old.buffer.flush()
445
446
447class SysCapture(SysCaptureBase[str]):

Callers

nothing calls this directly

Calls 3

_assert_stateMethod · 0.45
flushMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected