code: def test_median2(self):
      x = np.random.rand(101)
      assert 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 2 for calling the TestAll obj's underlying member method code with example usage: obj.test_median2() without return types