code: def test_default_footprint(function):
      strel = footprints.diamond(radius=1)
      image = np.array(
          [
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          ],
          np.uint8,
      )
      im_expected = function(image, strel)
      im_test = function(image)
      assert_array_equal(im_expected, im_test)
  
imports: import inspect
  import numpy
  import pytest
  from scipy import ndimage
  from numpy.testing import assert_allclose, assert_array_equal, assert_equal
  from skimage import color, data, transform
  from skimage._shared._warnings import expected_warnings
  from skimage._shared.testing import fetch
  from skimage.morphology import gray, footprints
  from skimage.util import img_as_uint, img_as_ubyte
label_desc: Use image node_id 3 for calling a global function with example usage: test_default_footprint(function) without return types