[pypy-svn] r47266 - pypy/dist/pypy/interpreter/test
ac at codespeak.net
ac at codespeak.net
Sun Oct 7 16:59:39 CEST 2007
Author: ac
Date: Sun Oct 7 16:59:39 2007
New Revision: 47266
Modified:
pypy/dist/pypy/interpreter/test/test_syntax.py
Log:
Allways run the tests of features of python 2.5
Modified: pypy/dist/pypy/interpreter/test/test_syntax.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_syntax.py (original)
+++ pypy/dist/pypy/interpreter/test/test_syntax.py Sun Oct 7 16:59:39 2007
@@ -270,6 +270,9 @@
assert x == expected
class AppTestWith(Py25AppTest):
+ def test_with_as_identifier(self):
+ exec "with = 9"
+
def test_with_simple(self):
s = """from __future__ import with_statement
@@ -475,9 +478,6 @@
assert acontextfact.calls == '__enter__ __body__ __exit__ __return__'.split()
assert acontextfact.exit_params == (None, None, None)
- def test_with_as_identifier(self):
- exec "with = 9"
-
def test_with_as_keyword(self):
try:
exec "from __future__ import with_statement\nwith = 9"
More information about the Pypy-commit
mailing list