code: def test_sparse_matrix_norms(self):
      for sparse_type in self._sparse_types:
          for M in self._test_matrices:
              S = sparse_type(M)
              assert_allclose(spnorm(S), npnorm(M))
              assert_allclose(spnorm(S, "fro"), npnorm(M, "fro"))
              assert_allclose(spnorm(S, np.inf), npnorm(M, np.inf))
              assert_allclose(spnorm(S, -np.inf), npnorm(M, -np.inf))
              assert_allclose(spnorm(S, 1), npnorm(M, 1))
              assert_allclose(spnorm(S, -1), npnorm(M, -1))
  
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 1 for calling the TestVsNumpyNorm obj's underlying member method code with example usage: obj.test_sparse_matrix_norms() without return types