summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-06-09 19:10:28 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-06-09 19:10:28 -0400
commit9d5a487c36f2cf7823021afa96b8d9ead9eb5ff7 (patch)
treef777638263fc64ac34428ecad43c11b5789e0062 /coverage/parser.py
parent405d0cf5760032ac6bc3f9a07c72094ff20a454c (diff)
downloadpython-coveragepy-9d5a487c36f2cf7823021afa96b8d9ead9eb5ff7.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.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 8d6a077..2d777a5 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):