def test_intlist_to_bytes(self):
    self.assertEqual(intlist_to_bytes([0, 1, 127, 128, 255]), b'\x00\x01\x7f\x80\xff')
def test_intlist_to_bytes(self):
    self.assertEqual(intlist_to_bytes([0, 1, 127, 128, 255]), b'\x00\x01\x7f\x80\xff')