summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-13 21:08:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-12-13 21:08:15 (GMT)
commit7ced53cc636e6c6b63a8918b11f6f69fc64b0d33 (patch)
tree59691a25618c03e88724a813794dec2660479e1d /Lib/test/test_dis.py
parent050ca6530d876b70ac60dca274280fe0911494dd (diff)
parent3cda0ed062892c46cbae43989ff59399e8042f58 (diff)
downloadcpython-7ced53cc636e6c6b63a8918b11f6f69fc64b0d33.zip
cpython-7ced53cc636e6c6b63a8918b11f6f69fc64b0d33.tar.gz
cpython-7ced53cc636e6c6b63a8918b11f6f69fc64b0d33.tar.bz2
merge 3.4 (#23048)
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r--Lib/test/test_dis.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
index ed05f52..4f30183 100644
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -178,15 +178,16 @@ dis_compound_stmt_str = """\
1 0 LOAD_CONST 0 (0)
3 STORE_NAME 0 (x)
- 2 6 SETUP_LOOP 13 (to 22)
+ 2 6 SETUP_LOOP 14 (to 23)
3 >> 9 LOAD_NAME 0 (x)
12 LOAD_CONST 1 (1)
15 INPLACE_ADD
16 STORE_NAME 0 (x)
19 JUMP_ABSOLUTE 9
- >> 22 LOAD_CONST 2 (None)
- 25 RETURN_VALUE
+ 22 POP_BLOCK
+ >> 23 LOAD_CONST 2 (None)
+ 26 RETURN_VALUE
"""
dis_traceback = """\