From: Michael W. Hudson Date: Fri, 27 May 2005 14:58:06 +0000 (+0000) Subject: Fix test_site to not call open('...', 'wU'), as that now raises an error. X-Git-Tag: v2.5a0~1774 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff52286d4a43d2a525ace6b68775f8fc60ed7a88;p=python Fix test_site to not call open('...', 'wU'), as that now raises an error. Is anyone running the test suite regularly at the moment? --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index ba6f94d2ec..3a8b9d3144 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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"