From 1083c248dfc55dde9901919e69bcb7fb29fbb7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Fri, 21 Jan 2005 21:16:51 +0000 Subject: Add a slice test with high < low. --- Lib/test/test_array.py | 5 +++++ 1 file changed, 5 insertions(+) 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) ) -- cgit v0.12