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

Thomas Wouters python-dev@python.org
Sun, 30 Jul 2000 08:38:39 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22380/Lib/test

Modified Files:
	test_mmap.py 
Log Message:

Fix inconsistent use of tab/space in indentation.



Index: test_mmap.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_mmap.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** test_mmap.py	2000/07/30 02:20:38	1.8
--- test_mmap.py	2000/07/30 15:38:35	1.9
***************
*** 106,117 ****
      else:
          # resize() is supported
! 	assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
! 	# Check that we can no longer seek beyond the new size.
! 	try:
! 		m.seek(513,0)
! 	except ValueError:
! 		pass
! 	else:
! 	        assert 0, 'Could seek beyond the new size'
      
      m.close()
--- 106,117 ----
      else:
          # resize() is supported
!         assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
!         # Check that we can no longer seek beyond the new size.
!         try:
!             m.seek(513,0)
!         except ValueError:
!             pass
!         else:
!             assert 0, 'Could seek beyond the new size'
      
      m.close()