code: def test_point_immutable():
      p = Point(3.0, 4.0)
  
      with pytest.raises(AttributeError):
          p.coords = (2.0, 1.0)
  
      with pytest.raises(TypeError):
          p.coords[0] = (2.0, 1.0)
  
file_path: shapely/shapely/tests/geometry/test_point.py
imports: import numpy
  import pytest
  from shapely import Point
  from shapely.coords import CoordinateSequence
  from shapely.errors import DimensionError
label_desc: Use image node_id 8 for calling a global function with example usage: test_point_immutable() without return types