From 9d5a487c36f2cf7823021afa96b8d9ead9eb5ff7 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 9 Jun 2013 19:10:28 -0400 Subject: Branch coverage improvement, fixes #90. Bug #212 fixed on py2, but not py3. --- coverage/parser.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'coverage/parser.py') 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): -- cgit v1.2.1