code: def test_g():
      # Test data for the g_k. See DLMF 5.11.4.
      with mp.workdps(30):
          g = [
              mp.mpf(1),
              mp.mpf(1) / 12,
              mp.mpf(1) / 288,
              -mp.mpf(139) / 51840,
              -mp.mpf(571) / 2488320,
              mp.mpf(163879) / 209018880,
              mp.mpf(5246819) / 75246796800,
          ]
          mp_assert_allclose(compute_g(7), g)
  
file_path: scipy/scipy/special/tests/test_precompute_gammainc.py
imports: import pytest
  from scipy.special._testutils import MissingModule, check_version
  from scipy.special._mptestutils import Arg, IntArg, mp_assert_allclose, assert_mpmath_equal
  from scipy.special._precompute.gammainc_asy import compute_g, compute_alpha, compute_d
  from scipy.special._precompute.gammainc_data import gammainc, gammaincc
label_desc: Use image node_id 1 for calling a global function with example usage: test_g() without return types