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

Method write_sep

src/_pytest/terminal.py:443–451  ·  view source on GitHub ↗
(
        self,
        sep: str,
        title: Optional[str] = None,
        fullwidth: Optional[int] = None,
        **markup: bool,
    )

Source from the content-addressed store, hash-verified

441 self._tw.write("\r" + line + fill, **markup)
442
443 def write_sep(
444 self,
445 sep: str,
446 title: Optional[str] = None,
447 fullwidth: Optional[int] = None,
448 **markup: bool,
449 ) -> None:
450 self.ensure_newline()
451 self._tw.sep(sep, title, fullwidth, **markup)
452
453 def section(self, title: str, sep: str = "=", **kw: bool) -> None:
454 self._tw.sep(sep, title, **kw)

Callers 13

pytest_sessionstartMethod · 0.95
pytest_sessionfinishMethod · 0.95
summary_warningsMethod · 0.95
summary_passesMethod · 0.95
summary_failuresMethod · 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