code: def test_norm_exceptions(self):
      m = self.b
      assert_raises(TypeError, spnorm, m, None, 1.5)
      assert_raises(TypeError, spnorm, m, None, [2])
      assert_raises(ValueError, spnorm, m, None, ())
      assert_raises(ValueError, spnorm, m, None, (0, 1, 2))
      assert_raises(ValueError, spnorm, m, None, (0, 0))
      assert_raises(ValueError, spnorm, m, None, (0, 2))
      assert_raises(ValueError, spnorm, m, None, (-3, 0))
      assert_raises(ValueError, spnorm, m, None, 2)
      assert_raises(ValueError, spnorm, m, None, -3)
      assert_raises(ValueError, spnorm, m, "plate_of_shrimp", 0)
      assert_raises(ValueError, spnorm, m, "plate_of_shrimp", (0, 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 5 for calling the TestNorm obj's underlying member method code with example usage: obj.test_norm_exceptions() without return types