1# test construction of bytes from different objects
2
3try:
4    from uarray import array
5except ImportError:
6    try:
7        from array import array
8    except ImportError:
9        print("SKIP")
10        raise SystemExit
11
12# arrays
13print(bytes(array('h', [1, 2])))
14print(bytes(array('I', [1, 2])))
15