From: Guido van Rossum Date: Fri, 31 Mar 2000 01:20:33 +0000 (+0000) Subject: Mark Hammond: Ooops - even though Win32 handles the same args, there X-Git-Tag: v1.6a1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=706dbd03bd8d51702401e6e55245938291f05a19;p=python Mark Hammond: Ooops - even though Win32 handles the same args, there was a superfluous check for the platform. --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index b8ecbe7a7f..e932bec3b0 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