This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 pitrou
收信人 brett.cannon, ixokai, ned.deily, pitrou, sdaoden, vstinner
日期 2011-02-22.16:37:26
SpamBayes Score 0.061614215
Marked as misclassified
Message-id <1298392648.43.0.55855071363.issue11277@psf.upfronthosting.co.za>
In-reply-to
内容
Out of curiosity, could you try the following patch?

Index: Lib/test/test_zlib.py
===================================================================
--- Lib/test/test_zlib.py	(révision 88500)
+++ Lib/test/test_zlib.py	(copie de travail)
@@ -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):
历史
日期 用户 动作 参数
2011-02-22 16:37:28pitrou修改recipients: + pitrou, brett.cannon, ixokai, vstinner, ned.deily, sdaoden
2011-02-22 16:37:28pitrou修改messageid: <1298392648.43.0.55855071363.issue11277@psf.upfronthosting.co.za>
2011-02-22 16:37:26pitrou链接issue11277 messages
2011-02-22 16:37:26pitrou创建