code: def testSplitError(
      self,
      descr,
      pylist,
      row_lengths,
      num_or_size_splits,
      exception,
      message,
      axis=0,
      num=None,
  ):
      rt = ragged_tensor.RaggedTensor.from_row_lengths(
          pylist, row_lengths
      )
      with self.assertRaises(exception):
          result = ragged_array_ops.split(
              rt, num_or_size_splits, axis, num
          )
          self.evaluate(result)
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  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.testSplitError(descr, pylist, row_lengths, num_or_size_splits, exception, message, axis, num) without return types