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