code: def test_must_be_color(self):
      x = cellprofiler_core.image.ImageSet(0, {}, {})
      x.add(
          "image",
          cellprofiler_core.image.Image(
              numpy.zeros((10, 20, 3), float)
          ),
      )
      image = x.get_image("image", must_be_color=True)
      assert tuple(image.pixel_data.shape) == (10, 20, 3)
  
file_path: CellProfiler/tests/core/image/test_image_set.py
imports: import numpy
  import pytest
  import cellprofiler_core.image
label_desc: Use image node_id 8 for calling the TestImageSet obj's underlying member method code with example usage: obj.test_must_be_color() without return types