code: def testRaggedStringSplitWrapper(
      self,
      source,
      sep=None,
      skip_empty=True,
      delimiter=None,
      result_type="SparseTensor",
      expected=None,
      error=None,
  ):
      if error is not None:
          with self.assertRaisesRegex(ValueError, error):
              ragged_string_ops.string_split(
                  source, sep, skip_empty, delimiter, result_type
              )
      if expected is not None:
          result = ragged_string_ops.string_split(
              source, sep, skip_empty, delimiter, result_type
          )
          if isinstance(expected, sparse_tensor.SparseTensorValue):
              self.assertAllEqual(result.indices, expected.indices)
              self.assertAllEqual(result.values, expected.values)
              self.assertAllEqual(
                  result.dense_shape, expected.dense_shape
              )
          else:
              self.assertAllEqual(result, expected)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_string_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 9 for calling the StringSplitOpTest obj's underlying member method code with example usage: obj.testRaggedStringSplitWrapper(source, sep, skip_empty, delimiter, result_type, expected, error) without return types