summaryrefslogtreecommitdiff
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-05-27 14:58:06 +0000
committerMichael W. Hudson <mwh@python.net>2005-05-27 14:58:06 +0000
commitff52286d4a43d2a525ace6b68775f8fc60ed7a88 (patch)
treeffb74a8230953959d9fe6379dcb143f9cca764e9 /Lib/test/test_site.py
parent631bfe602f20c7d0e34b79be604c6040f8691c75 (diff)
downloadcpython-git-ff52286d4a43d2a525ace6b68775f8fc60ed7a88.tar.gz
Fix test_site to not call open('...', 'wU'), as that now raises an error.
Is anyone running the test suite regularly at the moment?
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py2
1 files changed, 1 insertions, 1 deletions
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"