diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2011-07-04 10:27:39 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-07-04 10:27:39 -0400 |
commit | 0b05ae076815f9239019e04778d4d481c8ae1ac3 (patch) | |
tree | a183898beb2eae2a039b8a8bc8fcf6aa3e629438 /coverage/parser.py | |
parent | 60cca15e47acf3374e2d8789350c90204a334864 (diff) | |
download | python-coveragepy-0b05ae076815f9239019e04778d4d481c8ae1ac3.tar.gz |
A test and a fix for issue #122, maybe?
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index cbbb5a6..b65689c 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -297,7 +297,7 @@ OPS_EXCEPT_BLOCKS = _opcode_set('SETUP_EXCEPT', 'SETUP_FINALLY') OPS_POP_BLOCK = _opcode_set('POP_BLOCK') # Opcodes that have a jump destination, but aren't really a jump. -OPS_NO_JUMP = _opcode_set('SETUP_EXCEPT', 'SETUP_FINALLY') +OPS_NO_JUMP = OPS_PUSH_BLOCK # Individual opcodes we need below. OP_BREAK_LOOP = _opcode('BREAK_LOOP') |