diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-01-21 21:16:51 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-01-21 21:16:51 (GMT) |
commit | 1083c248dfc55dde9901919e69bcb7fb29fbb7bf (patch) | |
tree | 7c0859fd9435ac7b044d37c3678ea3c1e5a2ecd4 | |
parent | d6c6e2224bd2318f78d00432108997e64bc32a27 (diff) | |
download | cpython-1083c248dfc55dde9901919e69bcb7fb29fbb7bf.zip cpython-1083c248dfc55dde9901919e69bcb7fb29fbb7bf.tar.gz cpython-1083c248dfc55dde9901919e69bcb7fb29fbb7bf.tar.bz2 |
Add a slice test with high < low.
-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 c24b41b..078d727 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) ) |