# test errors from bad operations (unary, binary, etc)# unsupported unary operatorstry:~bytearray()exceptTypeError:print('TypeError')# unsupported binary operatorstry:bytearray()//2exceptTypeError:print('TypeError')# object with buffer protocol needed on rhstry:bytearray(1)+1exceptTypeError:print('TypeError')