diff options
author | Ben Finney <ben@benfinney.id.au> | 2011-07-27 13:08:39 +1000 |
---|---|---|
committer | Ben Finney <ben@benfinney.id.au> | 2011-07-27 13:08:39 +1000 |
commit | d9318b840bec37c116d5ef95ac1a618149f625da (patch) | |
tree | 305c374ca027499889a059f1809beb60dabdbdd6 /coverage/parser.py | |
parent | ca7a10dff148fdb68f577f09e1f572f8350491b3 (diff) | |
parent | 0f1b0d30e306ad35b1e29912e0613e9bf2618c47 (diff) | |
download | python-coveragepy-d9318b840bec37c116d5ef95ac1a618149f625da.tar.gz |
Refactor handling of static report files to a separate function.
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') |