code: def test_bed_parser(self):
      test_bed_path = test_utils.test_tmpfile(
          "test_bed_parser.bed",
          "\n".join(
              [
                  "chr20\t61724611\t61725646",
                  "chr20\t61304163\t61305182",
                  "chr20\t61286467\t61286789",
              ]
          ),
      )
      self.assertEqual(
          list(ranges.bed_parser(test_bed_path)),
          [
              ranges.make_range("chr20", 61724611, 61725646),
              ranges.make_range("chr20", 61304163, 61305182),
              ranges.make_range("chr20", 61286467, 61286789),
          ],
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  import mock
  from third_party.nucleus.protos import position_pb2
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 29 for calling the RangesTests obj's underlying member method code with example usage: obj.test_bed_parser() without return types