code: def test_solve_sym_pos(setup):
      import scipy.linalg
  
      rs = np.random.RandomState(0)
  
      data = rs.randint(1, 10, (20, 20))
      data_l = np.tril(data)
      data1 = data_l.dot(data_l.T)
      data2 = rs.randint(1, 10, (20,))
  
      A = tensor(data1, chunk_size=10)
      b = tensor(data2, chunk_size=10)
  
      x = solve(A, b, sym_pos=True)
  
      res = x.execute().fetch()
      np.testing.assert_allclose(res, scipy.linalg.solve(data1, data2))
      res = A.dot(x).execute().fetch()
      np.testing.assert_allclose(res, data2)
  
imports: import numpy
  import scipy.sparse
  from ....learn.datasets.samples_generator import make_low_rank_matrix
  from ....lib.sparse import issparse, SparseNDArray
  from ....utils import ignore_warning
  from ...datasource import tensor, diag, ones, arange
  from ...random import uniform
  from ..None import qr, svd, cholesky, norm, lu, solve_triangular, solve, inv, tensordot, dot, inner, vdot, matmul, randomized_svd
label_desc: Use image node_id 8 for calling a global function with example usage: test_solve_sym_pos(setup) without return types