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

Method flush

src/_pytest/_io/terminalwriter.py:186–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184 self.write("\n")
185
186 def flush(self) -> None:
187 self._file.flush()
188
189 def _write_source(self, lines: Sequence[str], indents: Sequence[str] = ()) -> None:
190 """Write lines of source code possibly highlighted.

Callers 3

write_rawMethod · 0.95
_console_mainFunction · 0.45
notify_exceptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected