code: def testSetHParamListNonListMismatch(self):
      hparams = hparam.HParams(a=1, b=[2.0, 3.0])
      with self.assertRaisesRegexp(ValueError, r"Must not pass a list"):
          hparams.set_hparam("a", [1.0])
      with self.assertRaisesRegexp(ValueError, r"Must pass a list"):
          hparams.set_hparam("b", 1.0)
  
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 29 for calling the HParamsTest obj's underlying member method code with example usage: obj.testSetHParamListNonListMismatch() without return types