code: def testBitcastError(
      self, descr, inputs, cast_to_dtype, exception, message, name=None
  ):
      with self.assertRaisesRegex(exception, message):
          result = ragged_array_ops.bitcast(inputs, cast_to_dtype, name)
          self.evaluate(result)
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_bitcast_op_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the RaggedSplitOpTest obj's underlying member method code with example usage: obj.testBitcastError(descr, inputs, cast_to_dtype, exception, message, name) without return types