[Python-checkins] r73396 - in python/trunk/Lib/test: test_file.py test_file2k.py test_univnewlines.py test_univnewlines2k.py
antoine.pitrou
python-checkins at python.org
Fri Jun 12 22:41:52 CEST 2009
Author: antoine.pitrou
Date: Fri Jun 12 22:41:52 2009
New Revision: 73396
Log:
Try to restore the old test_file and test_univnewlines as new, different files
(with the right revisions this time, hopefully)
Added:
python/trunk/Lib/test/test_file2k.py
- copied unchanged from r73393, /python/trunk/Lib/test/test_file.py
python/trunk/Lib/test/test_univnewlines2k.py
- copied unchanged from r73393, /python/trunk/Lib/test/test_univnewlines.py
Modified:
python/trunk/Lib/test/test_file.py
python/trunk/Lib/test/test_univnewlines.py
Modified: python/trunk/Lib/test/test_file.py
==============================================================================
--- python/trunk/Lib/test/test_file.py (original)
+++ python/trunk/Lib/test/test_file.py Fri Jun 12 22:41:52 2009
@@ -1,3 +1,6 @@
+# NOTE: this file tests the new `io` library backported from Python 3.x.
+# Similar tests for the builtin file object can be found in test_file2k.py.
+
from __future__ import print_function
import sys
Modified: python/trunk/Lib/test/test_univnewlines.py
==============================================================================
--- python/trunk/Lib/test/test_univnewlines.py (original)
+++ python/trunk/Lib/test/test_univnewlines.py Fri Jun 12 22:41:52 2009
@@ -1,5 +1,8 @@
# Tests universal newline support for both reading and parsing files.
+# NOTE: this file tests the new `io` library backported from Python 3.x.
+# Similar tests for the builtin file object can be found in test_univnewlines2k.py.
+
from __future__ import print_function
from __future__ import unicode_literals
More information about the Python-checkins
mailing list