code: def test_random_complex(self):
      n = 20
      for k in range(2):
          m = random([n, n]) + 1j * random([n, n])
          for i in range(n):
              m[i, i] = 20 * (0.1 + abs(m[i, i]))
          a = dot(transpose(conjugate(m)), m)
          c = cholesky(a)
          a1 = dot(transpose(conjugate(c)), c)
          assert_array_almost_equal(a, a1)
          c = transpose(c)
          a = dot(c, transpose(conjugate(c)))
          assert_array_almost_equal(cholesky(a, lower=1), c)
  
imports: from numpy.testing import assert_array_almost_equal, assert_array_equal
  from pytest import raises
  from numpy import array, transpose, dot, conjugate, zeros_like, empty
  from numpy.random import random
  from scipy.linalg import cholesky, cholesky_banded, cho_solve_banded, cho_factor, cho_solve
  from scipy.linalg._testutils import assert_no_overwrite
label_desc: Use image node_id 5 for calling the TestCholesky obj's underlying member method code with example usage: obj.test_random_complex() without return types