code: def test_bed_iterate_raises_on_malformed_record(self, filename):
      malformed = test_utils.genomics_core_testdata(filename)
      reader = bed_reader.BedReader.from_file(malformed, self.options)
      iterable = iter(reader.iterate())
      self.assertIsNotNone(next(iterable))
      with self.assertRaises(ValueError):
          list(iterable)
  
file_path: deepvariant/third_party/nucleus/io/python/bed_reader_wrap_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import clif_postproc
  from third_party.nucleus.io.python import bed_reader
  from third_party.nucleus.protos import bed_pb2
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 5 for calling the BedReaderTest obj's underlying member method code with example usage: obj.test_bed_iterate_raises_on_malformed_record(filename) without return types