def test_rgb_value_should_be_read_only(self): color = Color() try: color.rgb_val = 1 except(AttributeError): pass else: self.fail()
def test_rgb_value_should_be_read_only(self): color = Color() try: color.rgb_val = 1 except (AttributeError): pass else: self.fail()