From ff52286d4a43d2a525ace6b68775f8fc60ed7a88 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Fri, 27 May 2005 14:58:06 +0000 Subject: Fix test_site to not call open('...', 'wU'), as that now raises an error. Is anyone running the test suite regularly at the moment? --- Lib/test/test_site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_site.py') 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" -- cgit v1.2.1