diff options
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index 46aa4f5..59d1b7c 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -100,6 +100,6 @@ class SummaryReporter(Reporter): if self.config.show_missing: args += ("",) outfile.write(fmt_coverage % args) - if not total.n_files: + if not total.n_files and not self.config.skip_covered: raise CoverageException("No data to report.") return total.n_statements and total.pc_covered |