diff options
author | Ned Batchelder <nedbat@gmail.com> | 2013-09-16 09:13:21 -0400 |
---|---|---|
committer | Ned Batchelder <nedbat@gmail.com> | 2013-09-16 09:13:21 -0400 |
commit | d39438e5121ebddaf8aa0f6b2abdf7ce07f7ea31 (patch) | |
tree | 1ee0cefdf520871cc54583410d8525e4dbf2eed8 /coverage/parser.py | |
parent | dfe83e5fcdb5cc48880fda91d3d78353cb6ce4f7 (diff) | |
parent | f5675121528fe9d4729f0ba8052282de99ec9b79 (diff) | |
download | python-coveragepy-d39438e5121ebddaf8aa0f6b2abdf7ce07f7ea31.tar.gz |
Merged in rogerjhu/coverage.py (pull request #19)
Make UTF-8 detection more robust.
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 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): |