code: def test_delitem(fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as img:
          detached = img.sequence[0]
          del img.sequence[0]
          assert len(img.sequence) == 3
          assert img.sequence[0] is not detached
          assert img.sequence[0].size == (16, 16)
          expire(img)
          assert len(img.sequence) == 3
          assert img.sequence[0] is not detached
          assert img.sequence[0].size == (16, 16)
          assert img.sequence[1].size == (32, 32)
          assert img.sequence[2].size == (16, 16)
  
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 7 for calling a global function with example usage: test_delitem(fx_asset) without return types