code: def test_n_frames():
      with Image.open(TEST_IM) as im:
          assert im.n_frames == 1
          assert not im.is_animated
  
file_path: pillow-simd/Tests/test_file_im.py
imports: import filecmp
  import pytest
  from PIL import Image, ImImagePlugin
  from .helper import assert_image_equal_tofile, hopper, is_pypy
label_desc: Use image node_id 7 for calling a global function with example usage: test_n_frames() without return types