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
commite0ccb31492029204c8b2bb9e186fe8303df81d2e (patch)
tree5babbe0f63a89982b1bfe76e6d6ba504f14a2756 /coverage/summary.py
parentbca6c57534e654e1f2abc5d8419f253636c3491f (diff)
downloadpython-coveragepy-e0ccb31492029204c8b2bb9e186fe8303df81d2e.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 c1440ec..00e4af8 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 + ("",)