code: def test_wrong_size():
      """Regression test for IMG-961: objects & image different size"""
      numpy.random.seed(42)
      image = numpy.random.uniform(size=(10, 30))
      labels = numpy.ones((20, 20), int)
      workspace, module = make_workspace(image, labels)
      module.run(workspace)
      m = workspace.measurements
      workspace, module = make_workspace(image[:, :20], labels[:10, :])
      module.run(workspace)
      me = workspace.measurements
      for f in m.get_feature_names(INPUT_OBJECTS_NAME):
          if f.startswith(cellprofiler.modules.measuretexture.TEXTURE):
              values = m.get_current_measurement(INPUT_OBJECTS_NAME, f)
              expected = me.get_current_measurement(
                  INPUT_OBJECTS_NAME, f
              )
              assert values == expected
  
imports: import io
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.measuretexture
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 9 for calling a global function with example usage: test_wrong_size() without return types