code: def test_single_label_warning():
      image = np.array(
          [[0, 0, 0, 1, 0], [1, 1, 1, 0, 0], [1, 1, 1, 0, 0]], int
      )
      with expected_warnings(["use a boolean array?"]):
          remove_small_objects(image, min_size=6)
  
imports: import numpy
  import pytest
  from skimage.morphology import remove_small_objects, remove_small_holes
  from skimage._shared import testing
  from skimage._shared.testing import assert_array_equal, assert_equal
  from skimage._shared._warnings import expected_warnings
label_desc: Use image node_id 7 for calling a global function with example usage: test_single_label_warning() without return types