code: def test_bad_input():
      img = np.zeros((10, 10))
      r = np.linspace(136, 50, 100)
      c = np.linspace(5, 424, 100)
      init = np.array([r, c]).T
      with pytest.raises(ValueError):
          active_contour(img, init, boundary_condition="wrong")
      with pytest.raises(ValueError):
          active_contour(img, init, max_num_iter=-15)
  
file_path: scikit-image/skimage/segmentation/tests/test_active_contour_model.py
imports: import numpy
  import pytest
  from numpy.testing import assert_equal, assert_allclose
  from skimage import data
  from skimage._shared.utils import _supported_float_type
  from skimage.color import rgb2gray
  from skimage.filters import gaussian
  from skimage.segmentation import active_contour
label_desc: Use image node_id 6 for calling a global function with example usage: test_bad_input() without return types