def test_area_Setter(): c = Circle(2) try: c.area = 42 except AttributeError: assert True
def test_set_area(): c = Circle(10) with pytest.raises(AttributeError): c.area = 100