mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
11 lines
210 B
Python
11 lines
210 B
Python
# test construction of array.array from different objects
|
|
|
|
try:
|
|
from array import array
|
|
except ImportError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
# raw copy from bytes, bytearray
|
|
print(array('h', b'12'))
|