Add a slice test with high < low.

This commit is contained in:
Walter Dörwald 2005-01-21 21:16:51 +00:00
parent d6c6e2224b
commit 1083c248df
1 changed files with 5 additions and 0 deletions

View File

@ -427,6 +427,11 @@ class BaseTest(unittest.TestCase):
array.array(self.typecode) array.array(self.typecode)
) )
self.assertEqual(
a[2:1],
array.array(self.typecode)
)
self.assertEqual( self.assertEqual(
a[1000:], a[1000:],
array.array(self.typecode) array.array(self.typecode)