diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 12:20:02 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 12:20:02 -0400 |
commit | bee953400bae23f82ae021035aae0d784f6217d2 (patch) | |
tree | 2b7ea710d6294a2136b5e9e2c90d88903abd62fe /tests/plugin2.py | |
parent | db93205a36d4e55ae01c0c625c446b74e0438797 (diff) | |
download | python-coveragepy-git-bee953400bae23f82ae021035aae0d784f6217d2.tar.gz |
Rename .statements and .excluded_statements to .lines and .excluded_lines
Diffstat (limited to 'tests/plugin2.py')
-rw-r--r-- | tests/plugin2.py | 2 |
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] |