diff options
author | garar <none@none> | 2015-08-14 13:16:58 +0000 |
---|---|---|
committer | garar <none@none> | 2015-08-14 13:16:58 +0000 |
commit | 8a7964a2d2a4eec7fbd369aecdd6c01caa34092f (patch) | |
tree | 9ff9b2cce03fcd686a979a868c8d33fbe4f53df6 /coverage/summary.py | |
parent | 3e91ce7723dd163cca6f0caa1721de0a6bd5a3e4 (diff) | |
download | python-coveragepy-git-8a7964a2d2a4eec7fbd369aecdd6c01caa34092f.tar.gz |
Fix no data and skip-covered.
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 99e73974..a90803d6 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -105,7 +105,7 @@ 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 skipped_count: raise CoverageException("No data to report.") if self.config.skip_covered and skipped_count: outfile.write( |