code: def test_vector_norm(self):
      v = [4.5825756949558398, 4.2426406871192848, 4.5825756949558398]
      for m, a in (self.b, 0), (self.b.T, 1):
          for axis in a, (a,), a - 2, (a - 2,):
              assert_allclose(spnorm(m, 1, axis=axis), [7, 6, 7])
              assert_allclose(spnorm(m, np.inf, axis=axis), [4, 3, 4])
              assert_allclose(spnorm(m, axis=axis), v)
              assert_allclose(spnorm(m, ord=2, axis=axis), v)
              assert_allclose(spnorm(m, ord=None, axis=axis), v)
  
file_path: catboost/contrib/python/scipy/py2/scipy/sparse/linalg/tests/test_norm.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.linalg import norm
  from numpy.testing import assert_equal, assert_allclose
  from pytest import raises
  from scipy._lib._version import NumpyVersion
  import scipy.sparse
  from scipy.sparse.linalg import norm
label_desc: Use image node_id 4 for calling the TestNorm obj's underlying member method code with example usage: obj.test_vector_norm() without return types