summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/array_construct_endian.py
blob: bf34b05d15d2007be7fd3fc889f9f4e0b0e193d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# 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'))