code: def test_leak_load():
      from resource import RLIMIT_AS, RLIMIT_STACK, setrlimit
  
      setrlimit(RLIMIT_STACK, (stack_size, stack_size))
      setrlimit(RLIMIT_AS, (mem_limit, mem_limit))
      for _ in range(iterations):
          with Image.open(test_file) as im:
              im.load()
  
imports: from __future__ import annotations
  from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import is_win32, skip_unless_feature
label_desc: Use image node_id 1 for calling a global function with example usage: test_leak_load() without return types