code: def test_hash_same_equal(geom):
      hash1 = hash(geom)
      hash2 = hash(shapely.transform(geom, lambda x: x))
      if (
          geom.is_empty
          and shapely.get_num_geometries(geom) > 0
          and geom.geom_type not in {"MultiPoint", "Point"}
          and shapely.geos_version < (3, 9, 0)
      ):
          # abnormal test for older GEOS version
          assert hash1 != hash2, geom
      else:
          # normal test
          assert hash1 == hash2, geom
  
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 12 for calling a global function with example usage: test_hash_same_equal(geom) without return types