code: def test_median(self):
      x = np.random.rand(100)
      assert_almost_equal(median(x), np.median(x))
  
file_path: nipy/nipy/labs/utils/tests/test_misc.py
imports: import numpy
  from numpy.testing import TestCase, assert_almost_equal
  from scipy import special
  from ..routines import gamln, mahalanobis, median, psi
label_desc: Use image node_id 1 for calling the TestAll obj's underlying member method code with example usage: obj.test_median() without return types