diff options
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r-- | Lib/test/test_mmap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index dd1fb3f..3322c38 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -198,11 +198,12 @@ def test_both(): # we do not expect a ValueError on Windows if sys.platform.startswith('win'): verify(0, "Opening mmap with size+1 should work on Windows.") - pass else: # we expect a ValueError on Unix, but not on Windows if not sys.platform.startswith('win'): verify(0, "Opening mmap with size+1 should raise ValueError.") + del m + del f print " Opening mmap with access=ACCESS_WRITE" f = open(TESTFN, "r+b") |