Exemple #1
0
 def test_040_write_attribute(self):
     iso = IsoCalendar(1, 1, 1)
     with pytest.raises(AttributeError):
         iso.year = 3
     with pytest.raises(AttributeError):
         iso.week = 3
     with pytest.raises(AttributeError):
         iso.day = 3
 def test_040_write_attribute(self):
     iso = IsoCalendar(1, 1, 1)
     with pytest.raises(AttributeError):
         iso.year = 3
     with pytest.raises(AttributeError):
         iso.week = 3
     with pytest.raises(AttributeError):
         iso.day = 3