code: def test_get_import_path(
      self, entrypoint, prefixes_to_strip, expected
  ):
      self.assertEqual(
          expected,
          generator._get_import_path(
              entrypoint.exported_symbol.file_name,
              prefixes_to_strip,
              "",
          ),
      )
  
file_path: tensorflow/tensorflow/python/tools/api/generator2/generator/generator_test.py
imports: import collections
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  from tensorflow.python.tools.api.generator2.generator import generator
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 2 for calling the GeneratorTest obj's underlying member method code with example usage: obj.test_get_import_path(entrypoint, prefixes_to_strip, expected) without return types