code: def test_trim_filter(test_images):
      # this is a regression test for:
      # https://github.com/imageio/imageio/issues/951
      frames = iio.imread(
          "imageio:cockatoo.mp4",
          plugin="pyav",
          filter_sequence=[
              ("trim", {"start": "00:00:01", "end": "00:00:02"})
          ],
      )
  
      assert frames.shape == (20, 720, 1280, 3)
  
imports: import io
  import warnings
  from contextlib import ExitStack
  from pathlib import Path
  import numpy
  import pytest
  from conftest import IS_PYPY
  import imageio.v3
  from av.video.format import names
  from imageio.plugins.pyav import _format_to_dtype
label_desc: Use image node_id 30 for calling a global function with example usage: test_trim_filter(test_images) without return types