From d07bf029b7ba9b5ef1f494d119a2eca004c1818a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 25 May 2014 22:17:06 +0300 Subject: [PATCH] tests: Add small testcase for 3-arg slices. --- tests/basics/list_slice_3arg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/basics/list_slice_3arg.py b/tests/basics/list_slice_3arg.py index 1320e79236..b98ca3e4f2 100644 --- a/tests/basics/list_slice_3arg.py +++ b/tests/basics/list_slice_3arg.py @@ -2,3 +2,8 @@ x = list(range(10)) print(x[::-1]) print(x[::2]) print(x[::-2]) + +x = list(range(9)) +print(x[::-1]) +print(x[::2]) +print(x[::-2])