summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-07-04 10:27:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-07-04 10:27:39 -0400
commit9a57b96e1688fba3038b86a2f2c8244167db158f (patch)
tree8a8de2d63e072ea8a6fce00f661f111d323e7b85 /coverage/parser.py
parentb72fc76a8d781abbb612dd85a21ec24e00d8be9c (diff)
downloadpython-coveragepy-git-9a57b96e1688fba3038b86a2f2c8244167db158f.tar.gz
A test and a fix for issue #122, maybe?
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index cbbb5a6a..b65689c4 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')