mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add a slice test with high < low.
This commit is contained in:
parent
d6c6e2224b
commit
1083c248df
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue