code: def test_sparse_setitem():
      s1 = SparseNDArray(s1_data.copy())
      s1[1:2, 1] = [2]
      ss1 = s1_data.tolil()
      ss1[1:2, 1] = [2]
      np.testing.assert_array_equal(s1.toarray(), ss1.toarray())
  
      v = SparseVector(v1, shape=(3,))
      v[1:2] = [2]
      vv1 = v1_data.copy()
      vv1[1:2] = [2]
      np.testing.assert_array_equal(v.toarray(), vv1)
  
imports: import pickle
  import numpy
  import pytest
  import scipy.sparse
  from ...None import sparse
  from ..None import SparseNDArray, SparseVector, SparseMatrix
  from ..core import issparse
label_desc: Use image node_id 14 for calling a global function with example usage: test_sparse_setitem() without return types