code: def test_sparse_vector_norms(self):
      for sparse_type in self._sparse_types:
          for M in self._test_matrices:
              S = sparse_type(M)
              for axis in (0, 1, -1, -2, (0,), (1,), (-1,), (-2,)):
                  assert_allclose(
                      spnorm(S, axis=axis), npnorm(M, axis=axis)
                  )
                  for ord in None, 2, np.inf, -np.inf, 1, 0.5, 0.42:
                      assert_allclose(
                          spnorm(S, ord, axis=axis),
                          npnorm(M, ord, axis=axis),
                      )
  
file_path: scipy/scipy/sparse/linalg/tests/test_norm.py
imports: import pytest
  import numpy
  from numpy.linalg import norm
  from numpy.testing import assert_allclose, assert_equal
  from pytest import raises
  import scipy.sparse
  from scipy.sparse.linalg import norm
label_desc: Use image node_id 3 for calling the TestVsNumpyNorm obj's underlying member method code with example usage: obj.test_sparse_vector_norms() without return types