code: def test_wrong_image_size(
      image, measurements, module, objects, workspace
  ):
      """Regression test of IMG-961 - object and image size differ"""
      numpy.random.seed(41)
  
      labels = numpy.ones((20, 50), int)
  
      pixel_data = numpy.random.uniform(size=(30, 40)).astype(
          numpy.float32
      )
  
      image.pixel_data = pixel_data
  
      objects.segmented = labels
  
      module.run(workspace)
  
      feature_name = "%s_%s_%s" % (
          cellprofiler.modules.measureobjectintensity.INTENSITY,
          cellprofiler.modules.measureobjectintensity.INTEGRATED_INTENSITY,
          "MyImage",
      )
  
      m = measurements.get_current_measurement(
          "MyObjects", feature_name
      )
  
      assert len(m) == 1
  
      numpy.testing.assert_almost_equal(
          m[0], numpy.sum(pixel_data[:20, :40]), 4
      )
  
imports: import math
  import centrosome.outline
  import numpy
  import numpy.testing
  import pytest
  import skimage.measure
  import skimage.segmentation
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import EXPERIMENT, COLTYPE_FLOAT, C_LOCATION
  import cellprofiler.modules.measureobjectintensity
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 24 for calling a global function with example usage: test_wrong_image_size(image, measurements, module, objects, workspace) without return types