[pypy-svn] pypy default: from __future__ import with_statement
arigo
commits-noreply at bitbucket.org
Tue Mar 15 23:34:20 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r42690:1a0b6cbe2063
Date: 2011-03-15 18:34 -0400
http://bitbucket.org/pypy/pypy/changeset/1a0b6cbe2063/
Log: from __future__ import with_statement
diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -1,3 +1,4 @@
+from __future__ import with_statement
from pypy.conftest import option
class AppTestObject:
@@ -91,4 +92,4 @@
B()
assert len(log) == 1
assert log[0].message.args == ("object.__init__() takes no parameters",)
- assert type(log[0].message) is DeprecationWarning
\ No newline at end of file
+ assert type(log[0].message) is DeprecationWarning
More information about the Pypy-commit
mailing list