diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index b8ecbe7a7fc..e932bec3b01 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -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