[Python-checkins] python/dist/src/Lib/test test_types.py,1.30,1.31

mwh@users.sourceforge.net mwh@users.sourceforge.net
Tue, 11 Jun 2002 06:38:45 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv11746/Lib/test

Modified Files:
	test_types.py 
Log Message:
Fix for problem reported by Neal Norwitz.  Tighten up calculation of
slicelength.  Include his test case.


Index: test_types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_types.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** test_types.py	11 Jun 2002 10:55:09 -0000	1.30
--- test_types.py	11 Jun 2002 13:38:42 -0000	1.31
***************
*** 375,378 ****
--- 375,380 ----
  vereq(a[100:-100:-1], a[::-1])
  vereq(a[-100L:100L:2L], [0,2,4])
+ vereq(a[1000:2000:2], [])
+ vereq(a[-1000:-2000:-2], [])
  #  deletion
  del a[::2]