[pypy-svn] r47267 - pypy/dist/pypy/interpreter/test
ac at codespeak.net
ac at codespeak.net
Sun Oct 7 17:01:57 CEST 2007
Author: ac
Date: Sun Oct 7 17:01:57 2007
New Revision: 47267
Modified:
pypy/dist/pypy/interpreter/test/test_syntax.py
Log:
Oops. Last commit was accidental.
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 17:01:57 2007
@@ -270,9 +270,6 @@
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
@@ -478,6 +475,9 @@
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