code: def testRuntimeError(
      self, rt_inputs, axis, error, message, ragged_ranks=None
  ):
      if context.executing_eagerly():
          return
      rt_inputs = [
          array_ops.placeholder_with_default(rt, shape=None)
          for rt in rt_inputs
      ]
      concatenated = ragged_concat_ops.concat(rt_inputs, axis)
      with self.assertRaisesRegex(error, message):
          self.evaluate(concatenated)
  
file_path: tensorflow-upstream/tensorflow/python/ops/ragged/ragged_concat_op_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_concat_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 4 for calling the RaggedConcatOpTest obj's underlying member method code with example usage: obj.testRuntimeError(rt_inputs, axis, error, message, ragged_ranks) without return types