code: def test_sanity():
      with Image.open(path):
          pass
      try:
          locale.setlocale(locale.LC_ALL, "polish")
      except locale.Error:
          pytest.skip("Polish locale not available")
  
      try:
          with Image.open(path):
              pass
      finally:
          locale.setlocale(locale.LC_ALL, (None, None))
  
imports: from __future__ import annotations
  import locale
  import pytest
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types