code: def test_context_manager():
      with pytest.warns(None) as record:
          with Image.open(TEST_GIF) as im:
              im.load()
  
      assert not record
  
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 4 for calling a global function with example usage: test_context_manager() without return types