code: def test_copy(self):
      parsed_node = ParsedTFNode(_mock_tf_node())
      parsed_node.parse_from_attr()
      copy = parsed_node.copy()
      self.assertTrue(isinstance(copy, type(parsed_node)))
      props = [
          "name",
          "op",
          "datatype",
          "value",
          "inputs",
          "control_inputs",
          "outputs",
          "control_outputs",
          "attr",
          "original_node",
      ]
      for prop in props:
          self.assertEqual(
              getattr(parsed_node, prop),
              getattr(copy, prop),
              "Mismatch in property {}".format(prop),
          )
  
file_path: coremltools/coremltools/converters/mil/frontend/tensorflow/test/test_parsed_tf_node.py
imports: import unittest
  import pytest
  from tensorflow.core.framework import node_def_pb2
  from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.framework import types_pb2
  from coremltools.converters.mil.frontend.tensorflow.parsed_tf_node import ParsedTFNode
label_desc: Use image node_id 2 for calling the TestParsedTFNode obj's underlying member method code with example usage: obj.test_copy() without return types