diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-20 09:52:07 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-20 09:52:07 -0400 |
| commit | 33d7789e8e6c15aae52cf3e36eecbd48f36e248e (patch) | |
| tree | ed0da3866c20392314aea128cd5272a367bc832f /CHANGES.txt | |
| parent | b0168bef1eedbe75ffab364a02a0c1ba8466dbd1 (diff) | |
| download | python-coveragepy-git-33d7789e8e6c15aae52cf3e36eecbd48f36e248e.tar.gz | |
Touching files in an empty CoverageData shouldn't force lines. #399
py.test --cov can write empty data to arcs, and then touch files due to
--source. This would make the file be about lines instead of arcs, and
then combining would fail.
This changed a lot of CoverageData, including some of the methods names.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index b84bc8c7..16548b69 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -12,6 +12,12 @@ Latest - 4.0b1 broke --append creating new data files. This is now fixed, closing `issue 392`_. +- ``py.test --cov`` can write empty data, then touch files due to ``--source``, + which made coverage.py mistakenly force the data file to record lines instead + of arcs. This would lead to a "Can't combine line data with arc data" error + message. This is now fixed, and changed some method names in the + CoverageData interface. Fixes `issue 399`_. + - When using ``report --skip-covered``, a message will now be included in the report output indicating how many files were skipped, and if all files are skipped, coverage.py won't accidentally scold you for having no data to @@ -23,6 +29,7 @@ Latest .. _issue 392: https://bitbucket.org/ned/coveragepy/issues/392/run-append-doesnt-create-coverage-file .. _issue 395: https://bitbucket.org/ned/coveragepy/issues/395/rfe-read-pickled-files-as-well-for +.. _issue 399: https://bitbucket.org/ned/coveragepy/issues/399/coverageexception-cant-combine-line-data Version 4.0b1 --- 2 August 2015 |
