code: def test_setattr_disallowed(geom):
      with pytest.raises(AttributeError):
          geom.name = "test"
  
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 5 for calling a global function with example usage: test_setattr_disallowed(geom) without return types