def test_change_color(self): s = Slider(self.win, color='black') s.color = 'blue'
def test_change_color(self): s = Slider(self.win, color='black') with pytest.raises(AttributeError): s.color = 'blue'