Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r51872:c5b8818fe586
Date: 2012-01-27 11:53 +0100
http://bitbucket.org/pypy/pypy/changeset/c5b8818fe586/
Log: kill import print_function from __future__ also here, and adjust the
import of StringIO
diff --git a/pypy/interpreter/test/test_syntax.py
b/pypy/interpreter/test/test_syntax.py
--- a/pypy/interpreter/test/test_syntax.py
+++ b/pypy/interpreter/test/test_syntax.py
@@ -247,9 +247,9 @@
"""
def test_print(self):
- s = """from __future__ import print_function
-import StringIO
-s = StringIO.StringIO()
+ s = """
+from io import StringIO
+s = StringIO()
print("Hello,", "person", file=s)
"""
ns = {}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit