code: def test_sanity():
      with Image.open(static_test_file) as im:
          im.load()
          assert im.mode == "P"
          assert im.size == (128, 128)
          assert im.format == "FLI"
          assert not im.is_animated
  
      with Image.open(animated_test_file) as im:
          assert im.mode == "P"
          assert im.size == (320, 200)
          assert im.format == "FLI"
          assert im.info["duration"] == 71
          assert im.is_animated
  
file_path: pillow/Tests/test_file_fli.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from PIL import FliImagePlugin, Image
  from .helper import assert_image_equal, assert_image_equal_tofile, is_pypy
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types