def test_encode_ignores_bad_select(self):
    test_vector = serialized_valid_test_message[:]
    test_vector[11] = '0000'
    test_vector[12] = ''
    test_message = test_message_pb2.TestMessage()
    test_message.CopyFrom(valid_test_message)
    test_message.test_enum = test_message_pb2.TestMessage.ENUM_0
    self.verify_encode(test_message, test_vector)
def test_encode_ignores_bad_select(self):
    test_vector = serialized_valid_test_message[:]
    test_vector[11] = '0000'
    test_vector[12] = 
    test_message = test_message_pb2.TestMessage()
    test_message.CopyFrom(valid_test_message)
    test_message.test_enum = test_message_pb2.TestMessage.ENUM_0
    self.verify_encode(test_message, test_vector)