code: def test_sanity(test_file):
      with Image.open(test_file) as im:
          im.load()
          assert im.mode == "RGB"
          assert im.size == (640, 480)
          assert im.format == "MPO"
  
imports: from __future__ import annotations
  import warnings
  from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import assert_image_equal, assert_image_similar, is_pypy, skip_unless_feature
label_desc: Use image node_id 2 for calling a global function with example usage: test_sanity(test_file) without return types