code: def test_gif_list_write(test_images, tmp_path):
      im = iio.imread(
          test_images / "imageio_issue245.gif", plugin="pillow"
      )
      im_list = [x for x in im]
      iio.imwrite(tmp_path / "test.gif", im_list, plugin="pillow")
      im2 = iio.imread(
          test_images / "imageio_issue245.gif", plugin="pillow", index=0
      )
  
      assert im2.shape == (24, 30, 3)
  
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 20 for calling a global function with example usage: test_gif_list_write(test_images, tmp_path) without return types