micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# test construction of array.array from different objects
|
||||
|
||||
try:
|
||||
from uarray import array
|
||||
except ImportError:
|
||||
try:
|
||||
from array import array
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
# raw copy from bytes, bytearray
|
||||
print(array('h', b'12'))
|
Reference in New Issue
Block a user