summaryrefslogtreecommitdiff
path: root/tests/plugin1.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/plugin1.py
parentd0ee108f4b2d3515a4f03801fee226f7b930e699 (diff)
downloadpython-coveragepy-git-95161b9465de552b73fffb48ff7b666e133a24a4.tar.gz
Use the canonical import names for plugin base classes.
Diffstat (limited to 'tests/plugin1.py')
-rw-r--r--tests/plugin1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugin1.py b/tests/plugin1.py
index c28b886f..5340e40d 100644
--- a/tests/plugin1.py
+++ b/tests/plugin1.py
@@ -20,7 +20,7 @@ class Plugin(coverage.CoveragePlugin):
return FileReporter(filename)
-class FileTracer(coverage.plugin.FileTracer):
+class FileTracer(coverage.FileTracer):
"""A FileTracer emulating a simple static plugin."""
def __init__(self, filename):
@@ -40,7 +40,7 @@ class FileTracer(coverage.plugin.FileTracer):
return lineno*100+5, lineno*100+7
-class FileReporter(coverage.plugin.FileReporter):
+class FileReporter(coverage.FileReporter):
"""Dead-simple FileReporter."""
def statements(self):
return set([105, 106, 107, 205, 206, 207])