code: def test_parse_list(self):
      def compare(expected, lst, field_name):
          attr = attr_value.AttrValue()
          field = getattr(attr.list, field_name)
          field.extend(lst)
  
          actual = parse.parse_attr(attr)
          self.assertEqual(expected, actual)
  
      compare([1, 2, 3], [1, 2, 3], "i")
      compare(["foo", "bar"], [b"foo", b"bar"], "s")
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/frontend/tensorflow/test/test_parse.py
imports: import unittest
  import pytest
  from tensorflow.core.framework import attr_value_pb2
  from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.framework import types_pb2
  from coremltools.converters.mil.mil import types
  import coremltools.converters.mil.frontend.tensorflow.parse
label_desc: Use image node_id 1 for calling the TestParse obj's underlying member method code with example usage: obj.test_parse_list() without return types