code: def test_sanity():
      with Image.open(TEST_GIF) as im:
          im.load()
          assert im.mode == "P"
          assert im.size == (128, 128)
          assert im.format == "GIF"
          assert im.info["version"] == b"GIF89a"
  
imports: from io import BytesIO
  import pytest
  from PIL import GifImagePlugin, Image, ImageDraw, ImagePalette, features
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper, is_pypy, netpbm_available
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types