code: def test_equality_polygon():
      # different exterior rings
      geom1 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))"
      )
      geom2 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 15, 0 0))"
      )
      assert geom1 != geom2
  
      # different number of holes
      geom1 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0), (1 1, 2 1, 2 2, 1 1))"
      )
      geom2 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0), (1 1, 2 1, 2 2, 1 1), (3 3, 4 3, 4 4, 3 3))"
      )
      assert geom1 != geom2
  
      # different order of holes
      geom1 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0), (3 3, 4 3, 4 4, 3 3), (1 1, 2 1, 2 2, 1 1))"
      )
      geom2 = shapely.from_wkt(
          "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0), (1 1, 2 1, 2 2, 1 1), (3 3, 4 3, 4 4, 3 3))"
      )
      assert geom1 != geom2
  
file_path: shapely/shapely/tests/geometry/test_equality.py
imports: import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, MultiLineString, Point, Polygon
  from shapely.tests.common import all_types, all_types_z, empty_point, ignore_invalid
label_desc: Use image node_id 9 for calling a global function with example usage: test_equality_polygon() without return types