tests/basics: Split out specific slice tests to separate files.

So they can be automatically skipped if slice is not enabled.
This commit is contained in:
Damien George
2019-10-29 21:44:48 +11:00
parent ecb77e40e0
commit b5186c9271
4 changed files with 12 additions and 8 deletions

View File

@@ -1,6 +1,11 @@
# test list slices, getting values
x = list(range(10))
print(x[1:])
print(x[:-1])
print(x[2:3])
a = 2
b = 4
c = 3