code: def test_cell_point_ids(grid):
      # Test that the point_ids for all cells in the grid are unique,
      # which is not the case when using the GetCell(i) method of DataSet.
      # See https://vtk.org/doc/nightly/html/classvtkDataSet.html#a711ed1ebb7bdf4a4e2ed6896081cd1b2
      point_ids = {frozenset(c.point_ids) for c in grid.cell}
      assert len(point_ids) == grid.n_cells
  
imports: from types import GeneratorType
  import numpy
  import pytest
  import vtk
  from vtk.util.numpy_support import vtk_to_numpy
  import pyvista
  from pyvista import Cell, CellType
  from pyvista.core.utilities.cells import numpy_to_idarr
  from pyvista.examples import cells, load_airplane, load_explicit_structured, load_hexbeam, load_rectilinear, load_structured, load_tetbeam, load_uniform
label_desc: Use image node_id 3 for calling a global function with example usage: test_cell_point_ids(grid) without return types