code: def test_dnrm2():
      x = np.random.rand(n)
      assert_almost_equal(np.sqrt(np.sum(x**2)), blas_dnrm2(x))
  
file_path: nipy/nipy/labs/bindings/tests/test_blas1.py
imports: import numpy
  from numpy.testing import assert_almost_equal
  from ..None import blas_dasum, blas_daxpy, blas_ddot, blas_dnrm2, blas_dscal
label_desc: Use image node_id 1 for calling a global function with example usage: test_dnrm2() without return types