code: def test_multi_block_io(
      extension,
      binary,
      tmpdir,
      use_pathlib,
      ant,
      sphere,
      uniform,
      airplane,
      tetbeam,
  ):
      filename = str(tmpdir.mkdir("tmpdir").join(f"tmp.{extension}"))
      if use_pathlib:
          pathlib.Path(filename)
      multi = multi_from_datasets(
          ant, sphere, uniform, airplane, tetbeam
      )
      # Now check everything
      assert multi.n_blocks == 5
      # Save it out
      multi.save(filename, binary)
      foo = MultiBlock(filename)
      assert foo.n_blocks == multi.n_blocks
      foo = pv.read(filename)
      assert foo.n_blocks == multi.n_blocks
  
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 18 for calling a global function with example usage: test_multi_block_io(extension, binary, tmpdir, use_pathlib, ant, sphere, uniform, airplane, tetbeam) without return types