docstr: Can we read a RGB mode WebP file without error?
  Does it have the bits we expect?
docstr_tok: ["Can","we","read","a","RGB","mode","WebP","file","without","error","?","Does","it","have","the","bits","we","expect","?"]
code: def test_read_rgb(self):
      """
      Can we read a RGB mode WebP file without error?
      Does it have the bits we expect?
      """
  
      with Image.open("Tests/images/hopper.webp") as image:
          assert image.mode == self.rgb_mode
          assert image.size == (128, 128)
          assert image.format == "WEBP"
          image.load()
          image.getdata()
  
          # generated with:
          # dwebp -ppm ../../Tests/images/hopper.webp -o hopper_webp_bits.ppm
          assert_image_similar_tofile(
              image, "Tests/images/hopper_webp_bits.ppm", 1.0
          )
  
imports: import io
  import re
  import sys
  import pytest
  from PIL import Image, WebPImagePlugin, features
  from .helper import assert_image_similar, assert_image_similar_tofile, hopper, skip_unless_feature
label_desc: Use image node_id 3 for calling the TestFileWebp obj's underlying member method code with example usage: obj.test_read_rgb() without return types