[Python-checkins] CVS: python/dist/src/Lib/test test_mmap.py,1.2,1.3

Guido van Rossum python-dev@python.org
Thu, 30 Mar 2000 20:20:36 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib/test
In directory eric:/projects/python/develop/guido/src/Lib/test

Modified Files:
	test_mmap.py 
Log Message:
Mark Hammond: Ooops - even though Win32 handles the same args, there
was a superfluous check for the platform.


Index: test_mmap.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/test/test_mmap.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_mmap.py	2000/03/31 01:09:14	1.2
--- test_mmap.py	2000/03/31 01:20:33	1.3
***************
*** 16,23 ****
      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)
      f.close()
      
--- 16,20 ----
      f.write('\0'* (PAGESIZE-3) )
  
!     m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
      f.close()