try:
memoryview(b'a').itemsize
except:
print("SKIP")
raise SystemExit
from uarray import array
except ImportError:
from array import array
for code in ['b', 'h', 'i', 'l', 'q', 'f', 'd']:
print(memoryview(array(code)).itemsize)
# shouldn't be able to store to the itemsize attribute
memoryview(b'a').itemsize = 1
except AttributeError:
print('AttributeError')