Author: Benjamin Peterson <[email protected]>
Branch: py3k
Changeset: r53632:9dfe0ca27ddf
Date: 2012-03-14 19:58 -0500
http://bitbucket.org/pypy/pypy/changeset/9dfe0ca27ddf/
Log: fix this test
diff --git a/pypy/interpreter/test/test_compiler.py
b/pypy/interpreter/test/test_compiler.py
--- a/pypy/interpreter/test/test_compiler.py
+++ b/pypy/interpreter/test/test_compiler.py
@@ -795,7 +795,7 @@
co = compile(snip, "<test>", "exec").co_consts[0]
assert name not in co.co_names
co = co.co_code
- op = co[0] + (co[1] << 8)
+ op = co[0]
assert op == opcode.opmap["LOAD_CONST"]
def test_tuple_constants(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit