summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-08 05:53:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-08 05:53:39 -0400
commit95161b9465de552b73fffb48ff7b666e133a24a4 (patch)
treeb33c19336e07c82fb4e53c60d43095cbee3dfec9 /tests/plugin2.py
parentd0ee108f4b2d3515a4f03801fee226f7b930e699 (diff)
downloadpython-coveragepy-git-95161b9465de552b73fffb48ff7b666e133a24a4.tar.gz
Use the canonical import names for plugin base classes.
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