code: def testStaticError(
      self, rt_inputs, axis, error, message=None, ragged_ranks=None
  ):
      rt_inputs = self._rt_inputs_to_tensors(rt_inputs, ragged_ranks)
      self.assertRaisesRegex(
          error, message, ragged_concat_ops.concat, rt_inputs, axis
      )
  
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 3 for calling the RaggedConcatOpTest obj's underlying member method code with example usage: obj.testStaticError(rt_inputs, axis, error, message, ragged_ranks) without return types