File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
Change history for Coverage.py
3
3
------------------------------
4
4
5
- Version 3.2b3
6
- -------------
5
+ Version 3.2b3, 23 November 2009
6
+ -------------------------------
7
7
8
8
- Fixed a memory leak in the C tracer that was introduced in 3.2b1.
9
9
10
- - The table of contents in the HTML report is now sortable. Thanks,
11
- `Chris Adams`_.
10
+ - Branch coverage improvements:
11
+
12
+ - Branches to excluded code are ignored.
13
+
14
+ - The table of contents in the HTML report is now sortable: click the headers
15
+ on any column. Thanks, `Chris Adams`_.
12
16
13
17
.. _Chris Adams: http://improbable.org/chris/
14
18
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ def _split_into_chunks(self):
466
466
# This is "return None", but is it dummy? A real line
467
467
# would be a last chunk all by itself.
468
468
if chunks [- 1 ].byte != penult .offset :
469
+ # Split the last chunk
469
470
last_chunk = chunks [- 1 ]
470
471
last_chunk .exits .remove (- 1 )
471
472
last_chunk .exits .add (penult .offset )
You can’t perform that action at this time.
0 commit comments