micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# test builtin eval with a buffer (bytearray/memoryview) input
|
||||
|
||||
try:
|
||||
eval
|
||||
bytearray
|
||||
memoryview
|
||||
except:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(eval(bytearray(b'1 + 1')))
|
||||
print(eval(memoryview(b'2 + 2')))
|
Reference in New Issue
Block a user