]> granicus.if.org Git - python/commit
SF bug 544733: Cygwin test_mmap fix for Python 2.2.1
authorTim Peters <tim.peters@gmail.com>
Thu, 18 Apr 2002 04:30:18 +0000 (04:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 18 Apr 2002 04:30:18 +0000 (04:30 +0000)
commit5379dea2a7ad0639ce15d06a198f71990d039462
tree5c23cc8f8f9147ff8f84f7b90fb15f01443130b0
parent2b858971899ae0572f0610e4a8d59241471c6771
SF bug 544733:  Cygwin test_mmap fix for Python 2.2.1
Close a file before trying to unlink it, and apparently Cygwin needs
writes to an mmap'ed file to get flushed before they're visible.

Bugfix candidate, but I think only for the 2.2 line (it's testing
features that I think were new in 2.2).
Lib/test/test_mmap.py