mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
Issue #11277: finally fix Snow Leopard crash following r88460.
(probably an OS-related issue with mmap)
This commit is contained in:
parent
292ee5dc43
commit
543b7f3ee9
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class ChecksumBigBufferTestCase(unittest.TestCase):
|
||||||
with open(support.TESTFN, "wb+") as f:
|
with open(support.TESTFN, "wb+") as f:
|
||||||
f.seek(_4G)
|
f.seek(_4G)
|
||||||
f.write(b"asdf")
|
f.write(b"asdf")
|
||||||
f.flush()
|
with open(support.TESTFN, "rb") as f:
|
||||||
self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
|
self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue