code: def test_sepfir2d_invalid_image():
      filt = np.array([1.0, 2.0, 4.0, 2.0, 1.0])
      image = np.random.rand(8, 8)
  
      # Image must be 2 dimensional
      with pytest.raises(ValueError, match="object too deep"):
          signal.sepfir2d(image.reshape(4, 4, 4), filt, filt)
  
      with pytest.raises(ValueError, match="object of too small depth"):
          signal.sepfir2d(image[0], filt, filt)
  
file_path: catboost/contrib/python/scipy/py3/scipy/signal/tests/test_bsplines.py
imports: import numpy
  from numpy import array
  from numpy.testing import assert_equal, assert_allclose, assert_array_equal, assert_almost_equal
  import pytest
  from pytest import raises
  import scipy.signal.bsplines
  from scipy import signal
label_desc: Use image node_id 2 for calling a global function with example usage: test_sepfir2d_invalid_image() without return types