summaryrefslogtreecommitdiff
path: root/tests/modules/plugins
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-10 07:35:50 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-10 07:35:50 -0400
commit1279923a1d4e6c0844656bc6aaa75a496f070536 (patch)
tree57c1252884d1488cef8d7a005d7c56ffeb6e8d24 /tests/modules/plugins
parent8f3e7d8b69a145304c212925b260659b5a706304 (diff)
downloadpython-coveragepy-1279923a1d4e6c0844656bc6aaa75a496f070536.tar.gz
Add docstring for source_token_lines
Diffstat (limited to 'tests/modules/plugins')
-rw-r--r--tests/modules/plugins/a_plugin.py2
-rw-r--r--tests/modules/plugins/another.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/modules/plugins/a_plugin.py b/tests/modules/plugins/a_plugin.py
index 2a9910d..0cc96e5 100644
--- a/tests/modules/plugins/a_plugin.py
+++ b/tests/modules/plugins/a_plugin.py
@@ -2,8 +2,10 @@
from coverage import CoveragePlugin
+
class Plugin(CoveragePlugin):
pass
+
def coverage_init(reg, options):
reg.add_file_tracer(Plugin())
diff --git a/tests/modules/plugins/another.py b/tests/modules/plugins/another.py
index 096d3b9..80902d3 100644
--- a/tests/modules/plugins/another.py
+++ b/tests/modules/plugins/another.py
@@ -5,8 +5,10 @@
from coverage import CoveragePlugin
+
class Plugin(CoveragePlugin):
pass
+
def coverage_init(reg, options):
reg.add_file_tracer(Plugin())