def verify_decode_fail(self, test_vector):
    serialized = ''.join(test_vector).decode('hex')
    message = test_message_pb2.TestMessage()
    self.assertRaises(tls_message.TLSDecodingError, tls_message.decode, serialized, message)
def verify_decode_fail(self, test_vector):
    serialized = .join(test_vector).decode('hex')
    message = test_message_pb2.TestMessage()
    self.assertRaises(tls_message.TLSDecodingError, tls_message.decode, serialized, message)