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

Method writeorg

src/_pytest/capture.py:460–462  ·  view source on GitHub ↗

Write to original file descriptor.

(self, data)

Source from the content-addressed store, hash-verified

458 return res
459
460 def writeorg(self, data):
461 """Write to original file descriptor."""
462 super().writeorg(data.encode("utf-8")) # XXX use encoding of original stream
463
464
465# MultiCapture

Callers 2

test_writeorgMethod · 0.95
pop_outerr_to_origMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_writeorgMethod · 0.76