code: def test_setitem(fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as imga:
          with Image(
              filename=str(fx_asset.joinpath("google.ico"))
          ) as imgg:
              imga.sequence[2] = imgg
          assert len(imga.sequence) == 4
          assert imga.sequence[2].size == (16, 16)
          expire(imga)
          assert imga.sequence[2].size == (16, 16)
          with raises(TypeError):
              imga.sequence[3] = 0xDEADBEEF
  
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 6 for calling a global function with example usage: test_setitem(fx_asset) without return types