code: def test_jackknife_results():
      np.random.seed(0)
      x = np.random.normal(0, 1, 100)
      mu1, sig1 = jackknife(x, np.mean, kwargs=dict(axis=1))
      mu2, sig2 = jackknife(x, np.std, kwargs=dict(axis=1))
  
      assert_allclose(
          [mu1, sig1, mu2, sig2],
          [
              0.0598080155345,
              0.100288031685,
              1.01510470168,
              0.0649020337599,
          ],
      )
  
file_path: astroML/astroML/tests/test_resample.py
imports: import numpy
  from numpy.testing import assert_allclose
  from astroML.resample import bootstrap, jackknife
  from astroML.stats import mean_sigma
label_desc: Use image node_id 1 for calling a global function with example usage: test_jackknife_results() without return types