code: def test_pop():
      spheres = {
          f"{i}": pv.Sphere(phi_resolution=i + 3) for i in range(10)
      }
      multi = MultiBlock(spheres)
      assert multi.pop() == spheres["9"]
      assert spheres["9"] not in multi
      assert multi.pop(0) == spheres["0"]
      assert spheres["0"] not in multi
  
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 9 for calling a global function with example usage: test_pop() without return types