]> granicus.if.org Git - python/commitdiff
Fix test_site to not call open('...', 'wU'), as that now raises an error.
authorMichael W. Hudson <mwh@python.net>
Fri, 27 May 2005 14:58:06 +0000 (14:58 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 27 May 2005 14:58:06 +0000 (14:58 +0000)
Is anyone running the test suite regularly at the moment?

Lib/test/test_site.py

index ba6f94d2ec7379bb946a8e17eccbe1d94b16750d..3a8b9d314459f68bf42e9c4672c5ca54fffe4a9c 100644 (file)
@@ -117,7 +117,7 @@ class PthFile(object):
         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"