Kaydet (Commit) 543b7f3e authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #11277: finally fix Snow Leopard crash following r88460.

(probably an OS-related issue with mmap)
üst 292ee5dc
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment