code: def test_wrong_size():
      """Regression test of img-961, what if objects have different sizes?
  
      Slightly bizarre use case: maybe if user wants to measure background
      outside of cells in a plate of wells???
      """
      expected_primary_parents = numpy.zeros((20, 20), int)
      expected_secondary_parents = numpy.zeros((20, 20), int)
      primary_labels = numpy.zeros((10, 30), int)
      secondary_labels = numpy.zeros((20, 20), int)
      primary_labels[3:6, 3:10] = 2
      primary_labels[3:6, 10:17] = 1
      secondary_labels[2:7, 2:12] = 1
      expected_primary_parents[2:7, 2:12] = 2
      expected_primary_parents[4, 4:12] = 0  # the middle of the primary
      expected_primary_parents[4, 9] = 2  # the outline of primary # 2
      expected_primary_parents[4, 10] = 2  # the outline of primary # 1
      expected_secondary_parents[expected_primary_parents > 0] = 1
      workspace = make_workspace(primary_labels, secondary_labels)
      module = workspace.module
      assert isinstance(
          module,
          cellprofiler.modules.identifytertiaryobjects.IdentifyTertiarySubregion,
      )
      module.run(workspace)
  
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 7 for calling a global function with example usage: test_wrong_size() without return types