code: def test_supported_mode(func, mode):
      img = np.ones((10, 10), dtype=bool)
      func(img, mode=mode)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_equal
  from scipy import ndimage
  from skimage import data, color, morphology
  from skimage.util import img_as_bool
  from skimage.morphology import binary, footprints, gray
label_desc: Use image node_id 17 for calling a global function with example usage: test_supported_mode(func, mode) without return types