diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-21 09:29:39 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-21 09:29:39 -0400 |
commit | 77d826ef74d4602730cea5c4ac4a440cfbeb3303 (patch) | |
tree | 14b7ddce69c0f2cd7fcbbb0d1e2e2dca66adf602 /coverage/data.py | |
parent | caae3057c6e8ac32ca7a6e306d131f181df8686f (diff) | |
download | python-coveragepy-77d826ef74d4602730cea5c4ac4a440cfbeb3303.tar.gz |
Remove CoverageData(collector=), we'll do it differently soon.
Diffstat (limited to 'coverage/data.py')
-rw-r--r-- | coverage/data.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/coverage/data.py b/coverage/data.py index 9cf52a3..6db99ac 100644 --- a/coverage/data.py +++ b/coverage/data.py @@ -63,8 +63,6 @@ class CoverageData(object): # The data file format is a pickled dict, with these keys: # - # * collector: a string identifying the collecting software - # # * lines: a dict mapping filenames to lists of line numbers # executed:: # @@ -83,16 +81,12 @@ class CoverageData(object): # line data is easily recovered from the arcs: it is all the first elements # of the pairs that are greater than zero. - def __init__(self, collector=None, debug=None): + def __init__(self, debug=None): """Create a CoverageData. - `collector` is a string describing the coverage measurement software, - for example, `"coverage.py v3.14"`. - `debug` is a `DebugControl` object for writing debug messages. """ - self._collector = collector self._debug = debug # A map from canonical Python source file name to a dictionary in @@ -312,9 +306,6 @@ class CoverageData(object): else: file_data['lines'] = dict((f, list(lmap.keys())) for f, lmap in iitems(self._lines)) - if self._collector: - file_data['collector'] = self._collector - file_data['plugins'] = self._plugins # Write the pickle to the file. |