code: def test_attachments_property_is_immutable(self):
      with pytest.raises(TypeError):
          self.pathway.attachments[0] = self.pB
      with pytest.raises(TypeError):
          self.pathway.attachments[1] = self.pA
  
imports: import pytest
  from sympy import Rational, Symbol, cos, pi, sin, sqrt
  from sympy.physics.mechanics import Force, LinearPathway, ObstacleSetPathway, PathwayBase, Point, ReferenceFrame, WrappingCylinder, WrappingGeometryBase, WrappingPathway, WrappingSphere, dynamicsymbols
  from sympy.simplify.simplify import simplify
label_desc: Use image node_id 8 for calling the TestWrappingPathway obj's underlying member method code with example usage: obj.test_attachments_property_is_immutable() without return types