code: def test_gif_indexed_read(test_images):
      idx = 0
      numpy_im = np.load(test_images / "newtonscradle_rgb.npy")[
          idx, ...
      ]
  
      with iio.imopen(
          test_images / "newtonscradle.gif", "r", plugin="pillow"
      ) as file:
          # exists to touch branch, would be better two write an explicit test
          meta = file.get_meta(index=idx)
          assert "version" in meta
  
          pillow_im = file.read(index=idx, mode="RGB")
  
      assert np.allclose(pillow_im, numpy_im)
  
imports: import io
  import os
  from pathlib import Path
  import imageio.v3
  import numpy
  import pytest
  from imageio.core.request import InitializationError, Request
  from imageio.core.v3_plugin_api import PluginV3
  from imageio.plugins.pillow import PillowPlugin
  from PIL import Image, ImageSequence, ImageOps, __version__
label_desc: Use image node_id 17 for calling a global function with example usage: test_gif_indexed_read(test_images) without return types