tests/basics: Rename remaining tests that are for built-in functions.

For consistency with all of the other tests that are named builtin_XXX.py.
This commit is contained in:
Damien George
2018-02-07 15:55:52 +11:00
parent b45c8c17f0
commit 1f53ff61ff
8 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
try:
enumerate
except:
print("SKIP")
raise SystemExit
print(list(enumerate([])))
print(list(enumerate([1, 2, 3])))
print(list(enumerate([1, 2, 3], 5)))
print(list(enumerate([1, 2, 3], -5)))
print(list(enumerate(range(100))))
# specifying args with keywords
print(list(enumerate([1, 2, 3], start=1)))
print(list(enumerate(iterable=[1, 2, 3])))
print(list(enumerate(iterable=[1, 2, 3], start=1)))