code: def testBoolParsingFail(self):
      hparams = hparam.HParams(use_gpu=True)
      with self.assertRaisesRegexp(
          ValueError, r"Could not parse.*use_gpu"
      ):
          hparams.parse("use_gpu=yep")
  
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 8 for calling the HParamsTest obj's underlying member method code with example usage: obj.testBoolParsingFail() without return types