(self, rep: BaseReport)
| 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: |
no test coverage detected