def test_100_write_attribute(self): greg = GregorianCalendar(1, 1, 1) with pytest.raises(AttributeError): greg.year = 3 with pytest.raises(AttributeError): greg.month = 3 with pytest.raises(AttributeError): greg.day = 3