mirror of
https://github.com/python/cpython.git
synced 2024-12-22 16:24:24 +08:00
Merged revisions 88511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines Issue #11277: finally fix Snow Leopard crash following r88460. (probably an OS-related issue with mmap) ........
This commit is contained in:
parent
d8878ccf13
commit
cc76a410e2
@ -70,7 +70,7 @@ class ChecksumBigBufferTestCase(unittest.TestCase):
|
||||
with open(support.TESTFN, "wb+") as f:
|
||||
f.seek(_4G)
|
||||
f.write(b"asdf")
|
||||
f.flush()
|
||||
with open(support.TESTFN, "rb") as f:
|
||||
self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
|
||||
|
||||
def tearDown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user