def test_single_assignment(self):
    person = self.Person(42)
    with self.assertRaises(MutationError):
        person.age = 37
def test_single_assignment(self):
    person = self.Person(42)
    with self.assertRaises(MutationError):
        person.age = 37