[Python-checkins] r88514 - in python/branches/release32-maint: Lib/test/test_zlib.py
antoine.pitrou
python-checkins at python.org
Tue Feb 22 23:36:07 CET 2011
Author: antoine.pitrou
Date: Tue Feb 22 23:36:07 2011
New Revision: 88514
Log:
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)
........
Modified:
python/branches/release32-maint/ (props changed)
python/branches/release32-maint/Lib/test/test_zlib.py
Modified: python/branches/release32-maint/Lib/test/test_zlib.py
==============================================================================
--- python/branches/release32-maint/Lib/test/test_zlib.py (original)
+++ python/branches/release32-maint/Lib/test/test_zlib.py Tue Feb 22 23:36:07 2011
@@ -70,7 +70,7 @@
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):
More information about the Python-checkins
mailing list