code: def testInvalidNumOutputs(self):
      with self.assertRaisesRegex(
          Exception,
          r"Value for number_attr\(\) -1 < 0 \[Op:Split\]|"
          r"Value for attr 'num_split' of -1 must be at least minimum 1",
      ):
          array_ops.split(value=[1, 2, 3], num_or_size_splits=-1)
  
      with self.assertRaisesRegex(
          Exception,
          r"Value for attr 'num_split' of 0 must be at least minimum 1",
      ):
          array_ops.split(value=[1, 2, 3], num_or_size_splits=0)
  
imports: import sys
  import traceback
  import numpy
  from tensorflow.python import pywrap_tfe
  from tensorflow.python.eager import backprop
  from tensorflow.python.eager import context
  from tensorflow.python.eager import core
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import resource_variable_ops
label_desc: Use image node_id 13 for calling the Tests obj's underlying member method code with example usage: obj.testInvalidNumOutputs() without return types