[Python-checkins] python/dist/src/Lib/test test_compiler.py, 1.8, 1.9

mwh at users.sourceforge.net mwh at users.sourceforge.net
Mon Oct 11 17:34:34 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17678

Modified Files:
	test_compiler.py 
Log Message:
Open source files in universal newlines mode.


Index: test_compiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_compiler.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- test_compiler.py	12 Sep 2004 03:49:31 -0000	1.8
+++ test_compiler.py	11 Oct 2004 15:34:31 -0000	1.9
@@ -24,7 +24,7 @@
                 path = os.path.join(dir, basename)
                 if test.test_support.verbose:
                     print "compiling", path
-                f = open(path)
+                f = open(path, "U")
                 buf = f.read()
                 f.close()
                 if "badsyntax" in basename:



More information about the Python-checkins mailing list