code: def test_legendre_precise():
      x, w = gauss_legendre(3, 40)
      assert [str(r) for r in x] == [
          "-0.7745966692414833770358530799564799221666",
          "0",
          "0.7745966692414833770358530799564799221666",
      ]
      assert [str(r) for r in w] == [
          "0.5555555555555555555555555555555555555556",
          "0.8888888888888888888888888888888888888889",
          "0.5555555555555555555555555555555555555556",
      ]
  
file_path: sympy/sympy/integrals/tests/test_quadrature.py
imports: from sympy.core import S, Rational
  from sympy.integrals.quadrature import gauss_legendre, gauss_laguerre, gauss_hermite, gauss_gen_laguerre, gauss_chebyshev_t, gauss_chebyshev_u, gauss_jacobi, gauss_lobatto
label_desc: Use image node_id 2 for calling a global function with example usage: test_legendre_precise() without return types