diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-08 05:53:39 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-08 05:53:39 -0400 |
| commit | a481a6f72f4950121908dbc593daa71f1f7a2cdc (patch) | |
| tree | 612ea4e22812810673337a86361de23aded8c663 /tests/plugin2.py | |
| parent | fe4314eb99f414387c4ecbfe2bbad53740558a6c (diff) | |
| download | python-coveragepy-a481a6f72f4950121908dbc593daa71f1f7a2cdc.tar.gz | |
Use the canonical import names for plugin base classes.
Diffstat (limited to 'tests/plugin2.py')
| -rw-r--r-- | tests/plugin2.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
