Use super correctly.
This commit is contained in:
@@ -114,7 +114,7 @@ class MismatchError(AssertionError):
|
||||
# characters are in the matchee, matcher or mismatch.
|
||||
|
||||
def __init__(self, matchee, matcher, mismatch, verbose=False):
|
||||
super(AssertionError, self).__init__(self)
|
||||
super(MismatchError, self).__init__()
|
||||
self.matchee = matchee
|
||||
self.matcher = matcher
|
||||
self.mismatch = mismatch
|
||||
|
||||
Reference in New Issue
Block a user