class_docstr: Tests for CopyTo functions of Descriptor.
code: def _AssertProtoEqual(
      self, actual_proto, expected_class, expected_ascii
  ):
      expected_proto = expected_class()
      text_format.Merge(expected_ascii, expected_proto)
  
      self.assertEqual(
          actual_proto,
          expected_proto,
          "Not equal,\nActual:\n%s\nExpected:\n%s\n"
          % (str(actual_proto), str(expected_proto)),
      )
  
imports: import sys
  from google.protobuf import unittest_custom_options_pb2
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import descriptor_pb2
  from google.protobuf.internal import api_implementation
  from google.protobuf.internal import test_util
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import symbol_database
  from google.protobuf import text_format
label_desc: Use image node_id 1 for calling the DescriptorCopyToProtoTest obj's underlying member method code with example usage: obj._AssertProtoEqual(actual_proto, expected_class, expected_ascii) without return types