code: def test_reader_cell_point_data(tmpdir):
      tmpfile = tmpdir.join("temp.vtp")
      mesh = pv.Sphere()
      mesh["height"] = mesh.points[:, 1]
      mesh["id"] = np.arange(mesh.n_cells)
      mesh.save(tmpfile.strpath)
      # mesh has an additional 'Normals' point data array
  
      reader = pv.get_reader(tmpfile.strpath)
  
      assert reader.number_cell_arrays == 1
      assert reader.number_point_arrays == 2
  
      assert reader.cell_array_names == ["id"]
      assert reader.point_array_names == ["Normals", "height"]
  
      assert reader.all_cell_arrays_status == {"id": True}
      assert reader.all_point_arrays_status == {
          "Normals": True,
          "height": True,
      }
  
      assert reader.cell_array_status("id") is True
      assert reader.point_array_status("Normals") is True
  
      reader.disable_all_cell_arrays()
      assert reader.cell_array_status("id") is False
  
      reader.disable_all_point_arrays()
      assert reader.all_point_arrays_status == {
          "Normals": False,
          "height": False,
      }
  
      reader.enable_all_cell_arrays()
      assert reader.cell_array_status("id") is True
  
      reader.enable_all_point_arrays()
      assert reader.all_point_arrays_status == {
          "Normals": True,
          "height": True,
      }
  
      reader.disable_cell_array("id")
      assert reader.cell_array_status("id") is False
  
      reader.disable_point_array("Normals")
      assert reader.point_array_status("Normals") is False
  
      reader.enable_cell_array("id")
      assert reader.cell_array_status("id") is True
  
      reader.enable_point_array("Normals")
      assert reader.point_array_status("Normals") is True
  
imports: import os
  import platform
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
  from pyvista.core.utilities.fileio import _try_imageio_imread
  from pyvista.examples.downloads import download_file
label_desc: Use image node_id 9 for calling a global function with example usage: test_reader_cell_point_data(tmpdir) without return types