Commit 2a8a564f authored by Tom Soulanille's avatar Tom Soulanille Committed by Damien George
Browse files

tests: Test slicing a range that does not start at zero.

parent 0d28a3ed
......@@ -28,6 +28,11 @@ print(range(4)[1:2])
print(range(4)[1:3])
print(range(4)[1::2])
print(range(4)[1:-2:2])
print(range(1,4)[:])
print(range(1,4)[0:])
print(range(1,4)[1:])
print(range(1,4)[:-1])
print(range(7,-2,-4)[:])
# attrs
print(range(1, 2, 3).start)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment