[pypy-svn] r58882 - pypy/branch/2.5-merge/pypy/interpreter/test
arigo at codespeak.net
arigo at codespeak.net
Fri Oct 10 11:14:47 CEST 2008
Author: arigo
Date: Fri Oct 10 11:14:46 2008
New Revision: 58882
Modified:
pypy/branch/2.5-merge/pypy/interpreter/test/test_syntax.py
Log:
Make this importable on top of CPython 2.4.
Modified: pypy/branch/2.5-merge/pypy/interpreter/test/test_syntax.py
==============================================================================
--- pypy/branch/2.5-merge/pypy/interpreter/test/test_syntax.py (original)
+++ pypy/branch/2.5-merge/pypy/interpreter/test/test_syntax.py Fri Oct 10 11:14:46 2008
@@ -273,7 +273,7 @@
import warnings
warnings.simplefilter('error', SyntaxWarning)
- 1 if True else 2
+ exec "1 if True else 2"
warnings.simplefilter('default', SyntaxWarning)
More information about the Pypy-commit
mailing list