code: def test_name_attribute_is_immutable(self):
      instance = self.Subclass("name")
      with pytest.raises(AttributeError):
          instance.name = "new_name"
  
file_path: sympy/sympy/physics/biomechanics/tests/test_mixin.py
imports: import pytest
  from sympy.physics.biomechanics._mixin import _NamedMixin
label_desc: Use image node_id 6 for calling the TestNamedMixin obj's underlying member method code with example usage: obj.test_name_attribute_is_immutable() without return types