summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ba6f94d..3a8b9d3 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"