code: def test_delaunay_duplicate_points():
      npoints = 10
      duplicate = 7
      duplicate_of = 3
  
      np.random.seed(23)
      x = np.random.random(npoints)
      y = np.random.random(npoints)
      x[duplicate] = x[duplicate_of]
      y[duplicate] = y[duplicate_of]
  
      # Create delaunay triangulation.
      triang = mtri.Triangulation(x, y)
  
      # Duplicate points should be ignored, so the index of the duplicate points
      # should not appear in any triangle.
      assert_array_equal(
          np.unique(triang.triangles),
          np.delete(np.arange(npoints), duplicate),
      )
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_array_almost_equal, assert_array_less
  import numpy.ma.testutils
  import pytest
  import matplotlib
  import matplotlib.pyplot
  import matplotlib.tri
  from matplotlib.path import Path
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_delaunay_duplicate_points() without return types