git.samba.org
/
third_party
/
testtools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5aa48
)
Use super correctly.
author
Daniel Watkins
<daniel@daniel-watkins.co.uk>
Wed, 4 Dec 2013 11:27:03 +0000
(11:27 +0000)
committer
Daniel Watkins
<daniel@daniel-watkins.co.uk>
Wed, 4 Dec 2013 11:27:03 +0000
(11:27 +0000)
testtools/matchers/_impl.py
patch
|
blob
|
history
diff --git
a/testtools/matchers/_impl.py
b/testtools/matchers/_impl.py
index 888d8ee9df0b9645c5605413b039600e0f0cd561..19a93af7ff49eba54c63da376bb5089f4ff08806 100644
(file)
--- 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