diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-23 13:07:38 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-23 13:07:38 -0500 |
| commit | 6222944f7f32e88bcf9fc1a566aaafa0c95dd577 (patch) | |
| tree | 97c509beb610e431ae072957cf74078796333dfa | |
| parent | 4e7e772343eb04ffea61d7c6693bc678de8bab2c (diff) | |
| download | python-coveragepy-6222944f7f32e88bcf9fc1a566aaafa0c95dd577.tar.gz | |
Update CHANGES for 3.2b3
| -rw-r--r-- | CHANGES.txt | 12 | ||||
| -rw-r--r-- | coverage/parser.py | 1 |
2 files changed, 9 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 84be6db..1de6e81 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,13 +2,17 @@ Change history for Coverage.py
------------------------------
-Version 3.2b3
--------------
+Version 3.2b3, 23 November 2009
+-------------------------------
- Fixed a memory leak in the C tracer that was introduced in 3.2b1.
-- The table of contents in the HTML report is now sortable. Thanks,
- `Chris Adams`_.
+- Branch coverage improvements:
+
+ - Branches to excluded code are ignored.
+
+- The table of contents in the HTML report is now sortable: click the headers
+ on any column. Thanks, `Chris Adams`_.
.. _Chris Adams: http://improbable.org/chris/
diff --git a/coverage/parser.py b/coverage/parser.py index 3e55ad6..505ce1c 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -466,6 +466,7 @@ class ByteParser(object): # This is "return None", but is it dummy? A real line # would be a last chunk all by itself. if chunks[-1].byte != penult.offset: + # Split the last chunk last_chunk = chunks[-1] last_chunk.exits.remove(-1) last_chunk.exits.add(penult.offset) |
