code: def testNonSquareMatrixV2(self):
      for dtype in self.float_types:
          with self.assertRaises(errors.InvalidArgumentError):
              linalg_ops.cholesky(
                  np.array(
                      [[1.0, 2.0, 3.0], [3.0, 4.0, 5.0]], dtype=dtype
                  )
              )
          with self.assertRaises(errors.InvalidArgumentError):
              linalg_ops.cholesky(
                  np.array(
                      [
                          [[1.0, 2.0, 3.0], [3.0, 4.0, 5.0]],
                          [[1.0, 2.0, 3.0], [3.0, 4.0, 5.0]],
                      ],
                      dtype=dtype,
                  )
              )
  
imports: import numpy
  from tensorflow.compiler.tests import xla_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 test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the CholeskyOpTest obj's underlying member method code with example usage: obj.testNonSquareMatrixV2() without return types