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

Method _outrep_summary

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

Source from the content-addressed store, hash-verified

1237 self._outrep_summary(rep)
1238
1239 def _outrep_summary(self, rep: BaseReport) -> None:
1240 rep.toterminal(self._tw)
1241 showcapture = self.config.option.showcapture
1242 if showcapture == "no":
1243 return
1244 for secname, content in rep.sections:
1245 if showcapture != "all" and showcapture not in secname:
1246 continue
1247 self._tw.sep("-", secname)
1248 if content[-1:] == "\n":
1249 content = content[:-1]
1250 self._tw.line(content)
1251
1252 def summary_stats(self) -> None:
1253 if self.verbosity < -1:

Callers 3

summary_errorsMethod · 0.95

Calls 3

toterminalMethod · 0.45
sepMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected