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

Method line

src/_pytest/_io/terminalwriter.py:182–184  ·  view source on GitHub ↗
(self, s: str = "", **markup: bool)

Source from the content-addressed store, hash-verified

180 self.flush()
181
182 def line(self, s: str = "", **markup: bool) -> None:
183 self.write(s, **markup)
184 self.write("\n")
185
186 def flush(self) -> None:
187 self._file.flush()

Callers 15

cacheshowFunction · 0.95
sepMethod · 0.95
_write_sourceMethod · 0.95
print_usage_errorFunction · 0.95
test_attr_hasmarkupFunction · 0.95
assert_colorFunction · 0.95
pytest_cmdline_mainFunction · 0.45
toterminalMethod · 0.45
toterminalMethod · 0.45
toterminalMethod · 0.45
_write_entry_linesMethod · 0.45

Calls 1

writeMethod · 0.95

Tested by 2

test_attr_hasmarkupFunction · 0.76
assert_colorFunction · 0.76