[pypy-svn] r63112 - pypy/trunk/pypy/interpreter/test
pedronis at codespeak.net
pedronis at codespeak.net
Fri Mar 20 09:49:19 CET 2009
Author: pedronis
Date: Fri Mar 20 09:49:19 2009
New Revision: 63112
Modified:
pypy/trunk/pypy/interpreter/test/test_code.py
Log:
(iko, pedronis)
make this test test what it intended instead of other subtle differences between pypy and cpython
Modified: pypy/trunk/pypy/interpreter/test/test_code.py
==============================================================================
--- pypy/trunk/pypy/interpreter/test/test_code.py (original)
+++ pypy/trunk/pypy/interpreter/test/test_code.py Fri Mar 20 09:49:19 2009
@@ -1,4 +1,3 @@
-
from pypy.conftest import gettestobjspace
from pypy.interpreter import gateway
import py
@@ -174,7 +173,7 @@
"docstring"
'stuff'
56
- """ in locals()
+"""
# check for new flag, CO_NOFREE
assert f.func_code.co_flags & 0x40
@@ -184,7 +183,7 @@
def g(y):
return x+y
return g
- """ in locals()
+"""
# CO_NESTED
assert f(4).func_code.co_flags & 0x10
More information about the Pypy-commit
mailing list