diff options
-rw-r--r-- | CHANGES.rst | 2 | ||||
-rw-r--r-- | coverage/data.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index cc732cb6..d60cc58e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,8 @@ Unreleased data, leaving you with an empty .coverage data file. Fixes issues `issue 412`_, `issue 516`_, and probably `issue 511`_. +- Data files are now about 15% smaller. + - Corrected the name of the jquery.ba-throttle-debounce.js library. Thanks, Ben Finney. Closes `issue 505`_. diff --git a/coverage/data.py b/coverage/data.py index 94d83302..78590fea 100644 --- a/coverage/data.py +++ b/coverage/data.py @@ -451,7 +451,7 @@ class CoverageData(object): # Write the data to the file. file_obj.write(self._GO_AWAY) - json.dump(file_data, file_obj) + json.dump(file_data, file_obj, separators=(',', ':')) def write_file(self, filename): """Write the coverage data to `filename`.""" |