Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05212fc commit 522076dCopy full SHA for 522076d
1 file changed
Lib/test/test_mmap.py
@@ -198,11 +198,12 @@ def test_both():
198
# we do not expect a ValueError on Windows
199
if sys.platform.startswith('win'):
200
verify(0, "Opening mmap with size+1 should work on Windows.")
201
- pass
202
else:
203
# we expect a ValueError on Unix, but not on Windows
204
if not sys.platform.startswith('win'):
205
verify(0, "Opening mmap with size+1 should raise ValueError.")
+ del m
206
+ del f
207
208
print " Opening mmap with access=ACCESS_WRITE"
209
f = open(TESTFN, "r+b")
0 commit comments