code: def test_no_object_measurements():
      image = numpy.ones((10, 10)) * 0.5
      labels = numpy.ones((10, 10), int)
      workspace, module = make_workspace(image, labels)
      assert isinstance(
          module, cellprofiler.modules.measuretexture.MeasureTexture
      )
      module.images_or_objects.value = (
          cellprofiler.modules.measuretexture.IO_IMAGES
      )
      module.scale_groups[0].scale.value = 2
      module.run(workspace)
      m = workspace.measurements
      assert m.has_feature(
          "Image",
          "Texture_AngularSecondMoment_%s_2_00_256" % INPUT_IMAGE_NAME,
      )
      assert not m.has_feature(
          INPUT_OBJECTS_NAME,
          "Texture_AngularSecondMoment_%s_2_00_256" % INPUT_IMAGE_NAME,
      )
  
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 12 for calling a global function with example usage: test_no_object_measurements() without return types