Add a slice test with high < low.
This commit is contained in:
parent
d6c6e2224b
commit
1083c248df
|
@ -427,6 +427,11 @@ class BaseTest(unittest.TestCase):
|
|||
array.array(self.typecode)
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
a[2:1],
|
||||
array.array(self.typecode)
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
a[1000:],
|
||||
array.array(self.typecode)
|
||||
|
|
Loading…
Reference in New Issue