[Python-checkins] python/dist/src/Lib/test test_array.py,1.31,1.32

doerwalter at users.sourceforge.net doerwalter at users.sourceforge.net
Fri Jan 21 22:16:54 CET 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26707/Lib/test

Modified Files:
	test_array.py 
Log Message:
Add a slice test with high < low.


Index: test_array.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_array.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- test_array.py	16 Dec 2004 16:23:40 -0000	1.31
+++ test_array.py	21 Jan 2005 21:16:51 -0000	1.32
@@ -428,6 +428,11 @@
         )
 
         self.assertEqual(
+            a[2:1],
+            array.array(self.typecode)
+        )
+
+        self.assertEqual(
             a[1000:],
             array.array(self.typecode)
         )



More information about the Python-checkins mailing list