From 706dbd03bd8d51702401e6e55245938291f05a19 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 31 Mar 2000 01:20:33 +0000 Subject: Mark Hammond: Ooops - even though Win32 handles the same args, there was a superfluous check for the platform. --- Lib/test/test_mmap.py | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v0.12