diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-09 17:19:42 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-09 19:42:42 -0500 |
commit | fc249034d7b8d7ac20b7f5fddde6f922442b2dfa (patch) | |
tree | c6e07c1cfb23e4126fce205fbee1fe856f85d2b5 /coverage/sqldata.py | |
parent | da73d5a36f9eaff8e7d5e8d2d1d2c93a33ba6403 (diff) | |
download | python-coveragepy-git-fc249034d7b8d7ac20b7f5fddde6f922442b2dfa.tar.gz |
'[run] note' is no longer supported.
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r-- | coverage/sqldata.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 791dc77b..1c5ade40 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -5,7 +5,6 @@ # TODO: factor out dataop debugging to a wrapper class? # TODO: make sure all dataop debugging is in place somehow -# TODO: run_info import collections import datetime @@ -144,8 +143,7 @@ class CoverageData(SimpleReprMixin): To read a coverage.py data file, use :meth:`read`. You can then access the line, arc, or file tracer data with :meth:`lines`, :meth:`arcs`, - or :meth:`file_tracer`. Run information is available with - :meth:`run_infos`. + or :meth:`file_tracer`. The :meth:`has_arcs` method indicates whether arc data is available. You can get a list of the files in the data with :meth:`measured_files`. @@ -156,8 +154,7 @@ class CoverageData(SimpleReprMixin): Most data files will be created by coverage.py itself, but you can use methods here to create data files if you like. The :meth:`add_lines`, :meth:`add_arcs`, and :meth:`add_file_tracers` methods add data, in ways - that are convenient for coverage.py. The :meth:`add_run_info` method adds - key-value pairs to the run information. + that are convenient for coverage.py. To add a source file without any measured data, use :meth:`touch_file`. @@ -833,9 +830,6 @@ class CoverageData(SimpleReprMixin): lineno_contexts_map[lineno].append(context) return lineno_contexts_map - def run_infos(self): - return [] # TODO - @classmethod def sys_info(cls): """Our information for Coverage.sys_info. |