04c55f5828
For builds without the compiler enabled (and hence without eval/exec) it is useful to still be able to run as many tests as possible.
13 lines
229 B
Python
13 lines
229 B
Python
# test errors from bad function calls
|
|
try:
|
|
enumerate
|
|
except:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
# function with keyword args not given a specific keyword arg
|
|
try:
|
|
enumerate()
|
|
except TypeError:
|
|
print('TypeError')
|