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 | f5340981f611c102bac62c724543e7ff7ff6cb8a (patch) | |
tree | 4c5d3b5efc805d909f20cfbf0928b1ecd88c22d3 /tests/plugin2.py | |
parent | f703ae86ce82834205e791d0c138f901494ddad0 (diff) | |
download | python-coveragepy-f5340981f611c102bac62c724543e7ff7ff6cb8a.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 226d4e5..3bdfbdf 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] |