code: def test_chan_vese_incorrect_level_set():
      img = np.zeros((10, 10))
      ls = np.zeros((10, 9))
      with pytest.raises(ValueError):
          chan_vese(img, mu=0.0, init_level_set=ls)
      with pytest.raises(ValueError):
          chan_vese(img, mu=0.0, init_level_set="a")
  
file_path: scikit-image/skimage/segmentation/tests/test_chan_vese.py
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from skimage._shared.utils import _supported_float_type
  from skimage.segmentation import chan_vese
label_desc: Use image node_id 8 for calling a global function with example usage: test_chan_vese_incorrect_level_set() without return types