micropython: add micropython component
This commit is contained in:
12
components/language/micropython/tests/basics/fun_error2.py
Normal file
12
components/language/micropython/tests/basics/fun_error2.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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')
|
Reference in New Issue
Block a user