[pypy-svn] r66290 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler/test
benjamin at codespeak.net
benjamin at codespeak.net
Thu Jul 16 16:06:55 CEST 2009
Author: benjamin
Date: Thu Jul 16 16:06:55 2009
New Revision: 66290
Modified:
pypy/branch/parser-compiler/pypy/interpreter/astcompiler/test/test_symtable.py
Log:
any exec stops optimization
Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/test/test_symtable.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/test/test_symtable.py (original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/test/test_symtable.py Thu Jul 16 16:06:55 2009
@@ -298,7 +298,7 @@
assert scp.has_exec
for line in ("exec 'hi' in g", "exec 'hi' in g, h"):
scp = self.func_scope("def f(): " + line)
- assert scp.optimized
+ assert not scp.optimized
assert scp.bare_exec is None
assert scp.has_exec
More information about the Pypy-commit
mailing list