summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugin2.py')
-rw-r--r--tests/plugin2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin2.py b/tests/plugin2.py
index 226d4e55..3bdfbdfd 100644
--- a/tests/plugin2.py
+++ b/tests/plugin2.py
@@ -37,7 +37,7 @@ class RenderFileTracer(coverage.FileTracer):
class FileReporter(coverage.FileReporter):
"""A goofy file reporter."""
- def statements(self):
+ def lines(self):
# Goofy test arrangement: claim that the file has as many lines as the
# number in its name.
num = os.path.basename(self.filename).split(".")[0].split("_")[1]