diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-26 15:03:11 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-26 15:03:11 -0400 |
commit | 5c98172ff46513e182196b59b2b432b416ce2010 (patch) | |
tree | 21bc7db2c7cbf047b304c1f75333fa9ebaed3ef4 /coverage/control.py | |
parent | e825f492a3e5363b0e6d3bc41b76c54e91e2a174 (diff) | |
download | python-coveragepy-5c98172ff46513e182196b59b2b432b416ce2010.tar.gz |
New config option: run:note lets you annotate the data file.
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py index 2ad0db0..8a671fe 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -788,6 +788,9 @@ class Coverage(object): ]) ) + if self.config.note: + self.data.add_run_info(note=self.config.note) + self._measured = False return self.data |