Commit 706dbd03 authored by Guido van Rossum's avatar Guido van Rossum

Mark Hammond: Ooops - even though Win32 handles the same args, there

was a superfluous check for the platform.
parent a7937e57
......@@ -15,10 +15,7 @@ def test_both():
f.write('foo')
f.write('\0'* (PAGESIZE-3) )
if sys.platform[:3]=="win":
m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
else:
m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
f.close()
# Simple sanity checks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment