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

Method _outrep_summary

src/_pytest/terminal.py:1017–1028  ·  view source on GitHub ↗
(self, rep: BaseReport)

Source from the content-addressed store, hash-verified

1015 self._outrep_summary(rep)
1016
1017 def _outrep_summary(self, rep: BaseReport) -> None:
1018 rep.toterminal(self._tw)
1019 showcapture = self.config.option.showcapture
1020 if showcapture == "no":
1021 return
1022 for secname, content in rep.sections:
1023 if showcapture != "all" and showcapture not in secname:
1024 continue
1025 self._tw.sep("-", secname)
1026 if content[-1:] == "\n":
1027 content = content[:-1]
1028 self._tw.line(content)
1029
1030 def summary_stats(self) -> None:
1031 if self.verbosity < -1:

Callers 3

summary_passesMethod · 0.95
summary_failuresMethod · 0.95
summary_errorsMethod · 0.95

Calls 3

toterminalMethod · 0.45
sepMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected