code: def test_delitem_slice(slice_name, slice_, fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as img:
          instances = list(img.sequence)
          del instances[slice_]
          del img.sequence[slice_]
          assert list(img.sequence) == instances
          expire(img)
          assert list(img.sequence) == instances
  
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 11 for calling a global function with example usage: test_delitem_slice(slice_name, slice_, fx_asset) without return types