code: def test_context_manager():
      with pytest.warns(None) as record:
          with Image.open(TEST_FILE) as im:
              im.load()
  
      assert not record
  
file_path: pillow-simd/Tests/test_file_dcx.py
imports: import pytest
  from PIL import DcxImagePlugin, Image
  from .helper import assert_image_equal, hopper, is_pypy
label_desc: Use image node_id 4 for calling a global function with example usage: test_context_manager() without return types