code: def test_do_not_shrink():
      """Test the option to not shrink the smaller objects"""
      primary_labels = numpy.zeros((10, 10), int)
      secondary_labels = numpy.zeros((10, 10), int)
      primary_labels[3:6, 4:7] = 1
      secondary_labels[2:7, 3:8] = 1
      expected_labels = numpy.zeros((10, 10), int)
      expected_labels[2:7, 3:8] = 1
      expected_labels[3:6, 4:7] = 0
  
      workspace = make_workspace(primary_labels, secondary_labels)
      module = workspace.module
      module.shrink_primary.value = False
      module.run(workspace)
      measurements = workspace.measurements
  
      output_objects = workspace.object_set.get_objects(TERTIARY)
      assert numpy.all(output_objects.segmented == expected_labels)
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  import cellprofiler_core.modules
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_INTEGER, M_LOCATION_CENTER_X, COLTYPE_FLOAT, M_LOCATION_CENTER_Y, M_NUMBER_OBJECT_NUMBER, FF_CHILDREN_COUNT, FF_PARENT, R_FIRST_IMAGE_NUMBER, R_SECOND_IMAGE_NUMBER, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  import cellprofiler.modules.identifytertiaryobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 9 for calling a global function with example usage: test_do_not_shrink() without return types