summaryrefslogtreecommitdiff
path: root/coverage/summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-10 16:04:36 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-10 16:04:36 -0400
commitca1aa3d2a6346e3932fd90107b2303555163d0b2 (patch)
treea2a77dcc950a48444c1806b6339c1f8104f72725 /coverage/summary.py
parentc69d71e383de5ab90ddf475e6ddef10b9100e796 (diff)
downloadpython-coveragepy-git-ca1aa3d2a6346e3932fd90107b2303555163d0b2.tar.gz
--skip-covered shouldn't change the final result. #423.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r--coverage/summary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/summary.py b/coverage/summary.py
index 25bb365e..4dcaa735 100644
--- a/coverage/summary.py
+++ b/coverage/summary.py
@@ -60,6 +60,7 @@ class SummaryReporter(Reporter):
try:
analysis = self.coverage._analyze(fr)
nums = analysis.numbers
+ total += nums
if self.config.skip_covered:
# Don't report on 100% files.
@@ -83,7 +84,6 @@ class SummaryReporter(Reporter):
missing_fmtd += branches_fmtd
args += (missing_fmtd,)
outfile.write(fmt_coverage % args)
- total += nums
except Exception:
report_it = not self.config.ignore_errors
if report_it: