code: def test_pixel_data(self):
      data = numpy.random.random((224, 224, 3))
  
      image = Image(data)
  
      grayscale_image = GrayscaleImage(image)
  
      assert grayscale_image.pixel_data.shape == (224, 224)
  
imports: import numpy.random
  from cellprofiler_core.image import GrayscaleImage
  from cellprofiler_core.image import Image
label_desc: Use image node_id 1 for calling the TestGrayscaleImage obj's underlying member method code with example usage: obj.test_pixel_data() without return types