code: def test_bytes_reading(test_images):
      img_expected = iio.imread(test_images / "chelsea.png")
      encoded_image = (test_images / "chelsea.png").read_bytes()
  
      img = iio.imread(encoded_image, plugin="opencv")
  
      assert img.shape == (300, 451, 3)
      np.allclose(img, img_expected)
  
file_path: imageio/tests/test_opencv.py
imports: import warnings
  import imageio.v3
  import numpy
  import pytest
  import cv2
label_desc: Use image node_id 2 for calling a global function with example usage: test_bytes_reading(test_images) without return types