Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff52286

Browse files
author
Michael W. Hudson
committed
Fix test_site to not call open('...', 'wU'), as that now raises an error.
Is anyone running the test suite regularly at the moment?
1 parent 631bfe6 commit ff52286

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def create(self):
117117
Make sure to call self.cleanup() to undo anything done by this method.
118118
119119
"""
120-
FILE = open(self.file_path, 'wU')
120+
FILE = open(self.file_path, 'w')
121121
try:
122122
print>>FILE, "#import @bad module name"
123123
print>>FILE, "\n"

0 commit comments

Comments
 (0)