diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-01-21 21:16:51 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-01-21 21:16:51 +0000 |
commit | 1083c248dfc55dde9901919e69bcb7fb29fbb7bf (patch) | |
tree | 7c0859fd9435ac7b044d37c3678ea3c1e5a2ecd4 /Lib/test/test_array.py | |
parent | d6c6e2224bd2318f78d00432108997e64bc32a27 (diff) | |
download | cpython-git-1083c248dfc55dde9901919e69bcb7fb29fbb7bf.tar.gz |
Add a slice test with high < low.
Diffstat (limited to 'Lib/test/test_array.py')
-rwxr-xr-x | Lib/test/test_array.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index c24b41b931..078d727143 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -428,6 +428,11 @@ class BaseTest(unittest.TestCase): ) self.assertEqual( + a[2:1], + array.array(self.typecode) + ) + + self.assertEqual( a[1000:], array.array(self.typecode) ) |