code: def testSplitV1BadResultType(self):
      with self.assertRaisesRegex(ValueError, "result_type must be .*"):
          ragged_string_ops.strings_split_v1(
              "foo", result_type="BouncyTensor"
          )
  
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 3 for calling the StringSplitV2OpTest obj's underlying member method code with example usage: obj.testSplitV1BadResultType() without return types