From 30876c0a17d43d6581ad7dad13eed8a3d763a7ca Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 4 Dec 2013 11:27:03 +0000 Subject: [PATCH] Use super correctly. --- testtools/matchers/_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testtools/matchers/_impl.py b/testtools/matchers/_impl.py index 888d8ee..19a93af 100644 --- a/testtools/matchers/_impl.py +++ b/testtools/matchers/_impl.py @@ -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