summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_array.py')
-rwxr-xr-xLib/test/test_array.py5
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)
)