code: def test_pickle_round_trip(geom1):
      data = dumps(geom1, HIGHEST_PROTOCOL)
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          geom2 = loads(data)
      assert geom2.has_z == geom1.has_z
      assert type(geom2) is type(geom1)
      assert geom2.geom_type == geom1.geom_type
      assert geom2.wkt == geom1.wkt
  
file_path: shapely/shapely/tests/legacy/test_pickle.py
imports: import pathlib
  import pickle
  import warnings
  from pickle import dumps, HIGHEST_PROTOCOL, loads
  import pytest
  import shapely
  from shapely import wkt
  from shapely.geometry import box, GeometryCollection, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
label_desc: Use image node_id 1 for calling a global function with example usage: test_pickle_round_trip(geom1) without return types