code: def test_images():
      ims = [
          hopper(),
          Image.open("Tests/images/transparent.png"),
          Image.open("Tests/images/7x13.png"),
      ]
      try:
          yield ims
      finally:
          for im in ims:
              im.close()
  
file_path: pillow/Tests/test_image_fromqimage.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from PIL import Image
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: test_images() without return types