mirror of
https://github.com/python/cpython.git
synced 2024-11-27 03:45:08 +08:00
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
Block a user