summaryrefslogtreecommitdiff
path: root/tests/plugin1.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 /tests/plugin1.py
parentdb93205a36d4e55ae01c0c625c446b74e0438797 (diff)
downloadpython-coveragepy-git-bee953400bae23f82ae021035aae0d784f6217d2.tar.gz
Rename .statements and .excluded_statements to .lines and .excluded_lines
Diffstat (limited to 'tests/plugin1.py')
-rw-r--r--tests/plugin1.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/plugin1.py b/tests/plugin1.py
index 5340e40d..af4dfc52 100644
--- a/tests/plugin1.py
+++ b/tests/plugin1.py
@@ -42,12 +42,9 @@ class FileTracer(coverage.FileTracer):
class FileReporter(coverage.FileReporter):
"""Dead-simple FileReporter."""
- def statements(self):
+ def lines(self):
return set([105, 106, 107, 205, 206, 207])
- def excluded_statements(self):
- return set([])
-
def coverage_init(reg, options): # pylint: disable=unused-argument
"""Called by coverage to initialize the plugins here."""