code: def test_bytesio_object():
      with open(FILE1, "rb") as f:
          img_bytes = io.BytesIO(f.read())
  
      with Image.open(img_bytes) as img:
          img.load()
  
          with Image.open(FILE1_COMPARE) as image1_scale1_compare:
              image1_scale1_compare = image1_scale1_compare.convert(
                  "RGB"
              )
          image1_scale1_compare.load()
          assert_image_similar(img, image1_scale1_compare, 5)
  
imports: import io
  import pytest
  from PIL import EpsImagePlugin, Image, features
  from .helper import assert_image_similar, assert_image_similar_tofile, hopper, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 8 for calling a global function with example usage: test_bytesio_object() without return types