code: def test_parse_literal_with_contig_map_and_bad_input_raises_exception(
      self, bad_literal
  ):
      with self.assertRaises(ValueError):
          ranges.parse_literal(
              bad_literal,
              contig_map={
                  "chr1": reference_pb2.ContigInfo(
                      name="chr1", n_bases=10
                  )
              },
          )
  
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 24 for calling the RangesTests obj's underlying member method code with example usage: obj.test_parse_literal_with_contig_map_and_bad_input_raises_exception(bad_literal) without return types