```
class Triangle(object):
def __init__(self, angle1,angle2,angle3):
Triangle.self = self
Triangle.angle1 = angle1
Triangle.angle2 = angle2
Triangle.angle3 = angle3
number_of_sides = 3
def check_angles(self):
if self.angle1+self.angle2+self.angle3 == 180:
return True
else:
return False
#t1 = Triangle(30,60,90)
#print t1.check_angles()
```

It says the code won't return true for valid triangle angle values, but when I uncomment my last two lines and test it, I get True. Can someone tell me what I'm overlooking?