[pypy-commit] pypy py3.6: adapt expected dis output to PyPy
rlamy
pypy.commits at gmail.com
Wed Nov 6 11:53:39 EST 2019
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.6
Changeset: r97971:baac25aa3936
Date: 2019-11-06 16:52 +0000
http://bitbucket.org/pypy/pypy/changeset/baac25aa3936/
Log: adapt expected dis output to PyPy
diff --git a/lib-python/3/test/test_dis.py b/lib-python/3/test/test_dis.py
--- a/lib-python/3/test/test_dis.py
+++ b/lib-python/3/test/test_dis.py
@@ -262,7 +262,7 @@
20 RETURN_VALUE
"""
-# XXX: change for PyPy?
+# changed for PyPy
dis_traceback = """\
%3d 0 SETUP_EXCEPT 12 (to 14)
@@ -280,18 +280,18 @@
22 POP_TOP
24 STORE_FAST 0 (e)
26 POP_TOP
- 28 SETUP_FINALLY 12 (to 42)
+ 28 SETUP_FINALLY 10 (to 40)
%3d 30 LOAD_FAST 0 (e)
32 LOAD_ATTR 1 (__traceback__)
34 STORE_FAST 1 (tb)
36 POP_BLOCK
- 38 POP_EXCEPT
- 40 LOAD_CONST 0 (None)
- >> 42 LOAD_CONST 0 (None)
- 44 STORE_FAST 0 (e)
- 46 DELETE_FAST 0 (e)
- 48 END_FINALLY
+ 38 LOAD_CONST 0 (None)
+ >> 40 LOAD_CONST 0 (None)
+ 42 STORE_FAST 0 (e)
+ 44 DELETE_FAST 0 (e)
+ 46 END_FINALLY
+ 48 POP_EXCEPT
50 JUMP_FORWARD 2 (to 54)
>> 52 END_FINALLY
More information about the pypy-commit
mailing list