code: def test_cholesky():
      fun = lambda A: np.linalg.cholesky(A)
      check_symmetric_matrix_grads(fun)(rand_psd(6))
  
imports: from __future__ import absolute_import
  from builtins import range
  import itertools
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import tuple
  from autograd import grad
  from functools import partial
  import pytest
label_desc: Use image node_id 31 for calling a global function with example usage: test_cholesky() without return types