micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# test if eval raises SyntaxError
|
||||
|
||||
try:
|
||||
eval
|
||||
except NameError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
try:
|
||||
print(eval("[1,,]"))
|
||||
except SyntaxError:
|
||||
print("SyntaxError")
|
Reference in New Issue
Block a user