code: def testSubstituteRuntimeParameterFail(self):
      pipeline = pipeline_pb2.Pipeline()
      self.load_proto_from_text(
          os.path.join(
              self._testdata_dir,
              "pipeline_with_runtime_parameter.pbtxt",
          ),
          pipeline,
      )
      with self.assertRaisesRegex(
          RuntimeError, "Runtime parameter type"
      ):
          runtime_parameter_utils.substitute_runtime_parameter(
              pipeline,
              {
                  "context_name_rp": 0,  # Wrong type, will lead to failure.
                  "prop_one_rp": 2,
                  "prop_two_rp": "X",
              },
          )
  
file_path: tfx/tfx/orchestration/portable/runtime_parameter_utils_test.py
imports: import os
  import tensorflow
  from tfx.orchestration.portable import runtime_parameter_utils
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import test_case_utils
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 4 for calling the RuntimeParameterUtilsTest obj's underlying member method code with example usage: obj.testSubstituteRuntimeParameterFail() without return types