code: def test_slicing_multiple_in_setitem(sphere):
      # equal length
      multi = MultiBlock({f"{i}": sphere for i in range(10)})
      multi[1:3] = [pv.Cube(), pv.Cube()]
      assert multi[1] == pv.Cube()
      assert multi[2] == pv.Cube()
      assert multi.count(pv.Cube()) == 2
      assert len(multi) == 10
  
      # len(slice) < len(data)
      multi = MultiBlock({f"{i}": sphere for i in range(10)})
      multi[1:3] = [pv.Cube(), pv.Cube(), pv.Cube()]
      assert multi[1] == pv.Cube()
      assert multi[2] == pv.Cube()
      assert multi[3] == pv.Cube()
      assert multi.count(pv.Cube()) == 3
      assert len(multi) == 11
  
      # len(slice) > len(data)
      multi = MultiBlock({f"{i}": sphere for i in range(10)})
      multi[1:3] = [pv.Cube()]
      assert multi[1] == pv.Cube()
      assert multi.count(pv.Cube()) == 1
      assert len(multi) == 9
  
imports: import pathlib
  import platform
  import weakref
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista import ImageData, MultiBlock, PolyData, RectilinearGrid, StructuredGrid, examples
label_desc: Use image node_id 11 for calling a global function with example usage: test_slicing_multiple_in_setitem(sphere) without return types