mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 01:40:34 +02:00
12 lines
219 B
Python
12 lines
219 B
Python
# test construction of array.array from different objects
|
|
|
|
try:
|
|
from array import array
|
|
except ImportError:
|
|
import sys
|
|
print("SKIP")
|
|
sys.exit()
|
|
|
|
# raw copy from bytes, bytearray
|
|
print(array('h', b'12'))
|