code: def test_equals_exact_tolerance():
      # specifying tolerance
      p1 = shapely.points(50, 4)
      p2 = shapely.points(50.1, 4.1)
      actual = shapely.equals_exact([p1, p2, None], p1, tolerance=0.05)
      np.testing.assert_allclose(actual, [True, False, False])
      assert actual.dtype == np.bool_
      actual = shapely.equals_exact([p1, p2, None], p1, tolerance=0.2)
      np.testing.assert_allclose(actual, [True, True, False])
      assert actual.dtype == np.bool_
  
      # default value for tolerance
      assert shapely.equals_exact(p1, p1).item() is True
      assert shapely.equals_exact(p1, p2).item() is False
  
      # an array of tolerances
      actual = shapely.equals_exact(
          p1, p2, tolerance=[0.05, 0.2, np.nan]
      )
      np.testing.assert_allclose(actual, [False, True, False])
  
imports: from functools import partial
  import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.tests.common import all_types, all_types_z, empty, geometry_collection, ignore_invalid, line_string, linear_ring, point, polygon
label_desc: Use image node_id 14 for calling a global function with example usage: test_equals_exact_tolerance() without return types