code: def testGenerateSourceListWithPathRegexFilter(self):
      curr_file_basename = os.path.basename(self.curr_file_path)
      source_list = source_utils.list_source_files_against_dump(
          self.dump,
          path_regex_allowlist=(
              ".*" + curr_file_basename.replace(".", "\\.") + "$"
          ),
      )
  
      self.assertEqual(1, len(source_list))
      (
          file_path,
          is_tf_py_library,
          num_nodes,
          num_tensors,
          num_dumps,
          first_line,
      ) = source_list[0]
      self.assertEqual(self.curr_file_path, file_path)
      self.assertFalse(is_tf_py_library)
      self.assertEqual(12, num_nodes)
      self.assertEqual(14, num_tensors)
      self.assertEqual(39, num_dumps)
      self.assertEqual(self.traceback_first_line, first_line)
  
imports: import ast
  import os
  import sys
  import tempfile
  import zipfile
  import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.lib import debug_utils
  from tensorflow.python.debug.lib import source_utils
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import googletest
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 6 for calling the ListSourceAgainstDumpTest obj's underlying member method code with example usage: obj.testGenerateSourceListWithPathRegexFilter() without return types