From bee953400bae23f82ae021035aae0d784f6217d2 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 9 Aug 2015 12:20:02 -0400 Subject: Rename .statements and .excluded_statements to .lines and .excluded_lines --- coverage/plugin_support.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'coverage/plugin_support.py') diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py index 92246d46..8863b435 100644 --- a/coverage/plugin_support.py +++ b/coverage/plugin_support.py @@ -198,14 +198,14 @@ class DebugFileReporterWrapper(FileReporter): self.debug.write("relative_filename() --> %r" % (ret,)) return ret - def statements(self): - ret = self.reporter.statements() - self.debug.write("statements() --> %r" % (ret,)) + def lines(self): + ret = self.reporter.lines() + self.debug.write("lines() --> %r" % (ret,)) return ret - def excluded_statements(self): - ret = self.reporter.excluded_statements() - self.debug.write("excluded_statements() --> %r" % (ret,)) + def excluded_lines(self): + ret = self.reporter.excluded_lines() + self.debug.write("excluded_lines() --> %r" % (ret,)) return ret def translate_lines(self, lines): -- cgit v1.2.1