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 | d2c87fd4a23ef71f13d6e90aca98585ac515d551 (patch) | |
tree | 54f217746b6d1218beee1bd7c219c3a97a993d37 /coverage/plugin.py | |
parent | 4ddf53a6d962a001782a0838b1b8748041125be4 (diff) | |
download | python-coveragepy-git-d2c87fd4a23ef71f13d6e90aca98585ac515d551.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 32750a18..c1246274 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. |