code: def test_apng_repeated_seeks_give_correct_info() -> None:
      with Image.open(
          "Tests/images/apng/different_durations.png"
      ) as im:
          for i in range(3):
              im.seek(0)
              assert im.info["duration"] == 4000
              im.seek(1)
              assert im.info["duration"] == 1000
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageSequence, PngImagePlugin
label_desc: Use image node_id 25 for calling a global function with example usage: test_apng_repeated_seeks_give_correct_info() without return types