code: def test_display_colors():
      labels = numpy.zeros((50, 120), int)
      labels[10:20, 20:27] = 1
      labels[30:35, 35:50] = 2
      labels[5:18, 44:100] = 3
      workspace, module = make_workspace([1.1, 2.2, 3.3], labels)
      assert isinstance(
          module,
          cellprofiler.modules.displaydataonimage.DisplayDataOnImage,
      )
      module.color_or_text.value = (
          cellprofiler.modules.displaydataonimage.CT_COLOR
      )
      module.run(workspace)
      image = workspace.image_set.get_image(OUTPUT_IMAGE_NAME)
  
imports: import centrosome.cpmorphology
  import numpy
  import pytest
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.displaydataonimage
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 11 for calling a global function with example usage: test_display_colors() without return types