mirror of https://github.com/python/cpython
Fix test_site to not call open('...', 'wU'), as that now raises an error.
Is anyone running the test suite regularly at the moment?
This commit is contained in:
parent
631bfe602f
commit
ff52286d4a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue