code: def testSplitVNegativeSizes(self):
      with self.session() as session:
          with self.test_scope():
              with self.assertRaisesRegexp(
                  (ValueError, errors.InvalidArgumentError),
                  "Split size at index 1 must be >= .*. Got: -2",
              ):
                  _ = session.run(
                      array_ops.split(
                          np.array([1, 2, 3], dtype=np.float32),
                          [-1, -2],
                          axis=0,
                      )
                  )
  
imports: import unittest
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 10 for calling the NAryOpsTest obj's underlying member method code with example usage: obj.testSplitVNegativeSizes() without return types