summaryrefslogtreecommitdiff
path: root/coverage/summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-03 06:30:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-03 06:30:12 -0500
commit625415c2b0bd34a3c0efd814cc68108566c508e1 (patch)
tree840a6e64f6d8285f9393519973bba9eeeba057d6 /coverage/summary.py
parent9680c1e57bc5d1f5d4e0d0c1a8f8a5725b3f4890 (diff)
downloadpython-coveragepy-git-625415c2b0bd34a3c0efd814cc68108566c508e1.tar.gz
Make the naming of Results attributes more consistent.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r--coverage/summary.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/coverage/summary.py b/coverage/summary.py
index c1440ec0..00e4af87 100644
--- a/coverage/summary.py
+++ b/coverage/summary.py
@@ -43,8 +43,8 @@ class SummaryReporter(Reporter):
analysis = self.coverage._analyze(cu)
nums = analysis.numbers
args = (
- cu.name, nums.n_statements, nums.n_run,
- nums.percent_covered
+ cu.name, nums.n_statements, nums.n_executed,
+ nums.pc_covered
)
if self.show_missing:
args = args + (analysis.missing_formatted(),)
@@ -60,7 +60,8 @@ class SummaryReporter(Reporter):
if total.n_files > 1:
outfile.write(rule)
args = (
- "TOTAL", total.n_statements, total.n_run, total.percent_covered
+ "TOTAL", total.n_statements, total.n_executed,
+ total.pc_covered
)
if self.show_missing:
args = args + ("",)