summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-03-31 01:20:33 (GMT)
committerGuido van Rossum <guido@python.org>2000-03-31 01:20:33 (GMT)
commit706dbd03bd8d51702401e6e55245938291f05a19 (patch)
treeb19ce65ee6b5fab3b75ee42d407f2a548d1d7f4c /Lib
parenta7937e57f354e6d58b2d6c379a97ff3251975ea9 (diff)
downloadcpython-706dbd03bd8d51702401e6e55245938291f05a19.zip
cpython-706dbd03bd8d51702401e6e55245938291f05a19.tar.gz
cpython-706dbd03bd8d51702401e6e55245938291f05a19.tar.bz2
Mark Hammond: Ooops - even though Win32 handles the same args, there
was a superfluous check for the platform.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_mmap.py5
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