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

Method write

src/_pytest/terminal.py:413–414  ·  view source on GitHub ↗
(self, content: str, *, flush: bool = False, **markup: bool)

Source from the content-addressed store, hash-verified

411 self.currentfspath = None
412
413 def write(self, content: str, *, flush: bool = False, **markup: bool) -> None:
414 self._tw.write(content, flush=flush, **markup)
415
416 def flush(self) -> None:
417 self._tw.flush()

Callers 9

pytest_collectionMethod · 0.95
report_collectMethod · 0.95
test_rewriteMethod · 0.95
write_fspath_resultMethod · 0.45
write_ensure_prefixMethod · 0.45
rewriteMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_rewriteMethod · 0.76