code: def test_seek_tell():
      with Image.open(test_file) as im:
          layer_number = im.tell()
          assert layer_number == 1
  
          with pytest.raises(EOFError):
              im.seek(0)
  
          im.seek(1)
          layer_number = im.tell()
          assert layer_number == 1
  
          im.seek(2)
          layer_number = im.tell()
          assert layer_number == 2
  
file_path: pillow-simd/Tests/test_file_psd.py
imports: import pytest
  from PIL import Image, PsdImagePlugin
  from .helper import assert_image_similar, hopper, is_pypy
label_desc: Use image node_id 8 for calling a global function with example usage: test_seek_tell() without return types