code: def test_shrink_inf():
      """Shrink infinitely"""
      labels = numpy.zeros((10, 10), int)
      labels[1:8, 1:8] = 1
      expected = numpy.zeros((10, 10), int)
      expected[4, 4] = 1
      workspace, module = make_workspace(
          labels,
          cellprofiler.modules.expandorshrinkobjects.O_SHRINK_INF,
      )
      module.run(workspace)
      objects = workspace.object_set.get_objects(OUTPUT_NAME)
      assert numpy.all(objects.segmented == expected)
  
imports: import centrosome.cpmorphology
  import centrosome.outline
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler.modules.expandorshrinkobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  import cellprofiler_core.measurement
label_desc: Use image node_id 9 for calling a global function with example usage: test_shrink_inf() without return types