code: def test_getitem_slice(slice_name, slice_, fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as img:
          assert (
              list(img.sequence[slice_]) == list(img.sequence)[slice_]
          )
  
imports: from __future__ import print_function
  from pytest import mark, raises
  from wand.api import library
  from wand.image import Image
label_desc: Use image node_id 9 for calling a global function with example usage: test_getitem_slice(slice_name, slice_, fx_asset) without return types