From a481a6f72f4950121908dbc593daa71f1f7a2cdc Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 8 Aug 2015 05:53:39 -0400 Subject: Use the canonical import names for plugin base classes. --- tests/plugin2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/plugin2.py') diff --git a/tests/plugin2.py b/tests/plugin2.py index cbd2fc1..226d4e5 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 -- cgit v1.2.1