def giveRaise(self, percent, bonus=0.1): Person.giveRaise(self, percent+bonus )
def test_person_giveRaise(): sue = Person('Sue Jones', 45, 40000, 'hardware') sue.giveRaise(0.2) assert sue.pay == 48000
def giveRaise(self, percent, bonus=0.1): Person.giveRaise(self, percent + bonus)