diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-06-09 19:10:28 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-06-09 19:10:28 -0400 |
commit | b97456e8199980f4db4ac3722beea70d02d736ff (patch) | |
tree | dbd88227653cb90d2fecaa4194297f010a1e5dc3 /coverage/parser.py | |
parent | ce76f771e3760d1260e56ae2968a5170b12c2c13 (diff) | |
download | python-coveragepy-git-b97456e8199980f4db4ac3722beea70d02d736ff.tar.gz |
Branch coverage improvement, fixes #90. Bug #212 fixed on py2, but not py3.
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index 8d6a077b..2d777a5d 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -512,11 +512,6 @@ class ByteParser(object): chunk.exits.add(block_stack[-1][1]) chunk = None if bc.op == OP_END_FINALLY: - if block_stack: - # A break that goes through a finally will jump to whatever - # block is on top of the stack. - # print self._block_stack_repr(block_stack) - chunk.exits.add(block_stack[-1][1]) # For the finally clause we need to find the closest exception # block, and use its jump target as an exit. for block in reversed(block_stack): |