Change raise NotImplemented to raise NotImplementedError ()

This commit is contained in:
Christian Clauss 2019-12-27 02:11:57 +01:00 committed by Donne Martin
parent eaa447cc39
commit e50f26960d

View File

@ -66,7 +66,7 @@ class Director(Employee):
super(Operator, self).__init__(employee_id, name, Rank.DIRECTOR)
def escalate_call(self):
raise NotImplemented('Directors must be able to handle any call')
raise NotImplementedError('Directors must be able to handle any call')
class CallState(Enum):