Ejemplo n.º 1
0
 def test_change_color(self):
     s = Slider(self.win, color='black')
     s.color = 'blue'
Ejemplo n.º 2
0
    def test_change_color(self):
        s = Slider(self.win, color='black')

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

        with pytest.raises(AttributeError):
            s.color = 'blue'