summaryrefslogtreecommitdiff
path: root/coverage/results.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-09 12:20:02 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-09 12:20:02 -0400
commitbee953400bae23f82ae021035aae0d784f6217d2 (patch)
tree2b7ea710d6294a2136b5e9e2c90d88903abd62fe /coverage/results.py
parentdb93205a36d4e55ae01c0c625c446b74e0438797 (diff)
downloadpython-coveragepy-git-bee953400bae23f82ae021035aae0d784f6217d2.tar.gz
Rename .statements and .excluded_statements to .lines and .excluded_lines
Diffstat (limited to 'coverage/results.py')
-rw-r--r--coverage/results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/results.py b/coverage/results.py
index 2e82e24d..b2848d02 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -16,8 +16,8 @@ class Analysis(object):
self.data = data
self.file_reporter = file_reporter
self.filename = self.file_reporter.filename
- self.statements = self.file_reporter.statements()
- self.excluded = self.file_reporter.excluded_statements()
+ self.statements = self.file_reporter.lines()
+ self.excluded = self.file_reporter.excluded_lines()
# Identify missing statements.
executed = self.data.lines(self.filename) or []