code: def test_in_place():
      image = test_image.copy()
      observed = remove_small_objects(image, min_size=6, out=image)
      assert_equal(
          observed is image,
          True,
          "remove_small_objects in_place argument failed.",
      )
  
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 3 for calling a global function with example usage: test_in_place() without return types