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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py
index 023af9a..b650033 100755
--- a/Lib/test/test_array.py
+++ b/Lib/test/test_array.py
@@ -336,6 +336,9 @@ def testtype(type, example):
a = array.array(type, range(5))
del a[1::-2]
vereq(a, array.array(type, [0,2,3,4]))
+ a = array.array(type, range(10))
+ del a[::1000]
+ vereq(a, array.array(type, [1,2,3,4,5,6,7,8,9]))
# assignment
a = array.array(type, range(10))
a[::2] = array.array(type, [-1]*5)