Use super correctly.

This commit is contained in:
Daniel Watkins
2013-12-04 11:27:03 +00:00
parent 6e5aa48f33
commit 30876c0a17

View File

@@ -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