summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugin2.py')
-rw-r--r--tests/plugin2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugin2.py b/tests/plugin2.py
index cbd2fc11..226d4e55 100644
--- a/tests/plugin2.py
+++ b/tests/plugin2.py
@@ -18,7 +18,7 @@ class Plugin(coverage.CoveragePlugin):
return FileReporter(filename)
-class RenderFileTracer(coverage.plugin.FileTracer):
+class RenderFileTracer(coverage.FileTracer):
"""A FileTracer using information from the caller."""
def has_dynamic_source_filename(self):
@@ -35,7 +35,7 @@ class RenderFileTracer(coverage.plugin.FileTracer):
return lineno, lineno+1
-class FileReporter(coverage.plugin.FileReporter):
+class FileReporter(coverage.FileReporter):
"""A goofy file reporter."""
def statements(self):
# Goofy test arrangement: claim that the file has as many lines as the