code: def test_type_deprecated():
      geom = Point(1, 1)
  
      with pytest.warns(ShapelyDeprecationWarning):
          geom_type = geom.type
  
      assert geom_type == geom.geom_type
  
imports: import platform
  import weakref
  import numpy
  import pytest
  import shapely
  from shapely import GeometryCollection, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.errors import ShapelyDeprecationWarning
  from shapely.testing import assert_geometries_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_type_deprecated() without return types