summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cpydiff/modules_array_subscrstep.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpydiff/modules_array_subscrstep.py')
-rw-r--r--tests/cpydiff/modules_array_subscrstep.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cpydiff/modules_array_subscrstep.py b/tests/cpydiff/modules_array_subscrstep.py
new file mode 100644
index 0000000000..1103f18269
--- /dev/null
+++ b/tests/cpydiff/modules_array_subscrstep.py
@@ -0,0 +1,9 @@
+"""
+categories: Modules,array
+description: Subscript with step != 1 is not yet implemented
+cause: Unknown
+workaround: Unknown
+"""
+import array
+a = array.array('b', (1, 2, 3))
+print(a[3:2:2])