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

Method write_sep

src/_pytest/terminal.py:558–566  ·  src/_pytest/terminal.py::TerminalReporter.write_sep
(
        self,
        sep: str,
        title: str | None = None,
        fullwidth: int | None = None,
        **markup: bool,
    )

Source from the content-addressed store, hash-verified

556 self._tw.write(class="st">"\r" + line + fill, **markup)
557
558 def write_sep(
559 self,
560 sep: str,
561 title: str | None = None,
562 fullwidth: int | None = None,
563 **markup: bool,
564 ) -> None:
565 self.ensure_newline()
566 self._tw.sep(sep, title, fullwidth, **markup)
567
568 def section(self, title: str, sep: str = class="st">"=", **kw: bool) -> None:
569 self._tw.sep(sep, title, **kw)

Callers 13

pytest_sessionstartMethod · 0.95
pytest_sessionfinishMethod · 0.95
summary_warningsMethod · 0.95
summary_errorsMethod · 0.95
summary_statsMethod · 0.95
short_test_summaryMethod · 0.95
pytest_unconfigureFunction · 0.80
pytest_terminal_summaryFunction · 0.80

Calls 2

ensure_newlineMethod · 0.95
sepMethod · 0.45

Tested by

no test coverage detected