diff options
-rw-r--r-- | Lib/test/test_mmap.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index b8ecbe7..e932bec 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 |