[Python-checkins] python/dist/src/Lib/test test_site.py,1.6,1.7

mwh@users.sourceforge.net mwh at users.sourceforge.net
Fri May 27 16:58:09 CEST 2005


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

Modified Files:
	test_site.py 
Log Message:
Fix test_site to not call open('...', 'wU'), as that now raises an error.

Is anyone running the test suite regularly at the moment?


Index: test_site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_site.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- test_site.py	18 Jul 2004 06:14:50 -0000	1.6
+++ test_site.py	27 May 2005 14:58:06 -0000	1.7
@@ -117,7 +117,7 @@
         Make sure to call self.cleanup() to undo anything done by this method.
 
         """
-        FILE = open(self.file_path, 'wU')
+        FILE = open(self.file_path, 'w')
         try:
             print>>FILE, "#import @bad module name"
             print>>FILE, "\n"



More information about the Python-checkins mailing list