code: def test_pathlib_read_write(tmpdir, sphere):
      path = pathlib.Path(str(tmpdir.mkdir("tmpdir").join("tmp.vtk")))
      pv.save_meshio(path, sphere)
      assert path.is_file()
  
      mesh = pv.read_meshio(path)
      assert isinstance(mesh, pv.UnstructuredGrid)
      assert mesh.points.shape == sphere.points.shape
  
file_path: pyvista/tests/test_meshio.py
imports: import pathlib
  import meshio
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 2 for calling a global function with example usage: test_pathlib_read_write(tmpdir, sphere) without return types