docstr: Reject if type missing.
docstr_tok: ["Reject","if","type","missing","."]
code: def testParseValuesWithBadIndexAssigment2(self):
      """Reject if type missing."""
      with self.assertRaisesRegexp(
          ValueError, r"Unknown hyperparameter type for arr"
      ):
          hparam.parse_values("arr[1]=5", {})
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.utils import hparam
  import tensorflow.compat.v1
label_desc: Use image node_id 22 for calling the HParamsTest obj's underlying member method code with example usage: obj.testParseValuesWithBadIndexAssigment2() without return types