code: def test_parse_crosstool_diff(self):
      hunks = diff_parser.parse_hunks(self.crosstool_diff)
  
      self.assertLen(hunks, 3)
  
      small_hunk, big_hunk, literal_cc_hunk = hunks
  
      self.assertEqual(
          small_hunk.file,
          "third_party/gpus/crosstool/cc_toolchain_config.bzl.tpl",
      )
      self.assertEqual(small_hunk.start, 24)
      self.assertEqual(small_hunk.length, 7)
  
      self.assertEqual(
          big_hunk.file,
          "third_party/gpus/crosstool/cc_toolchain_config.bzl.tpl",
      )
      self.assertEqual(big_hunk.start, 300)
      self.assertEqual(big_hunk.length, 45)
  
      self.assertEqual(literal_cc_hunk.file, "xla/literal.cc")
      self.assertEqual(literal_cc_hunk.start, 47)
      self.assertEqual(literal_cc_hunk.length, 7)
  
file_path: tensorflow/third_party/xla/build_tools/lint/diff_parser_test.py
imports: from absl.testing import absltest
  from xla.build_tools.lint import diff_parser
label_desc: Use image node_id 4 for calling the ParseDiffTest obj's underlying member method code with example usage: obj.test_parse_crosstool_diff() without return types