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

Method writeorg

src/_pytest/capture.py:437–440  ·  view source on GitHub ↗

Write to original file descriptor.

(self, data)

Source from the content-addressed store, hash-verified

435 self._state = "started"
436
437 def writeorg(self, data):
438 """Write to original file descriptor."""
439 self._assert_state("writeorg", ("started", "suspended"))
440 os.write(self.targetfd_save, data)
441
442
443class FDCapture(FDCaptureBinary):

Callers

nothing calls this directly

Calls 2

_assert_stateMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected