code: def test_closed_file():
      with pytest.warns(None) as record:
          ImageQt.ImageQt("Tests/images/hopper.gif")
  
      assert not record
  
imports: import pytest
  from PIL import ImageQt
  from .helper import assert_image_similar, hopper
label_desc: Use image node_id 3 for calling a global function with example usage: test_closed_file() without return types