[pypy-svn] r77553 - pypy/branch/fast-forward/pypy/interpreter/astcompiler/test
afa at codespeak.net
afa at codespeak.net
Sun Oct 3 23:04:23 CEST 2010
Author: afa
Date: Sun Oct 3 23:04:21 2010
New Revision: 77553
Modified:
pypy/branch/fast-forward/pypy/interpreter/astcompiler/test/test_compiler.py
Log:
Reverse the test, now that pypy uses 2.7 bytecodes
Modified: pypy/branch/fast-forward/pypy/interpreter/astcompiler/test/test_compiler.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/astcompiler/test/test_compiler.py (original)
+++ pypy/branch/fast-forward/pypy/interpreter/astcompiler/test/test_compiler.py Sun Oct 3 23:04:21 2010
@@ -27,8 +27,8 @@
space = self.space
code = compile_with_astcompiler(source, 'exec', space)
# 2.7 bytecode is too different, the standard `dis` module crashes
- # when trying to display pypy (2.5-like) bytecode.
- if sys.version_info < (2, 7):
+ # on older cpython versions
+ if sys.version_info >= (2, 7):
print
code.dump()
w_dict = space.newdict()
More information about the Pypy-commit
mailing list