def test_encode_ignores_skipped_fields(self):
    test_message = test_message_pb2.TestMessage()
    test_message.CopyFrom(valid_test_message)
    test_message.skip_uint32 = 42
    self.verify_encode(test_message, serialized_valid_test_message)
def test_encode_ignores_skipped_fields(self):
    test_message = test_message_pb2.TestMessage()
    test_message.CopyFrom(valid_test_message)
    test_message.skip_uint32 = 42
    self.verify_encode(test_message, serialized_valid_test_message)