diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-24 11:31:02 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-24 11:31:02 -0500 |
commit | 2869fff8ffeebad9d5224307387e3868be6a9cc0 (patch) | |
tree | 0b52978f8f0d9a0ec016c10daed197a650b7a85b /coverage/plugin.py | |
parent | a0d709fc20142b5fe08d16efa80d34500969fb2d (diff) | |
download | python-coveragepy-2869fff8ffeebad9d5224307387e3868be6a9cc0.tar.gz |
Plugins can provide sysinfo
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r-- | coverage/plugin.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py index 32750a1..c124627 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -57,6 +57,17 @@ class CoveragePlugin(object): """ _needs_to_implement(self, "file_reporter") + def sysinfo(self): + """Return a list of information useful for debugging. + + This method will be invoked for ``coverage run --debug=sys``. Your + plugin can return any information to be displayed. + + The return value is a list of pairs: (name, value). + + """ + return [] + class FileTracer(object): """Support needed for files during the tracing phase. |