mirror of https://github.com/progval/irctest.git
assertMessageEqual: fix error msg
This commit is contained in:
parent
0352a83a73
commit
309a0e45e7
|
@ -79,7 +79,7 @@ class _IrcTestCase(unittest.TestCase):
|
|||
`subparams`, and `target` are given."""
|
||||
error = self.messageDiffers(msg, **kwargs)
|
||||
if error:
|
||||
raise self.failureException(msg)
|
||||
raise self.failureException(error)
|
||||
|
||||
def messageEqual(self, msg, **kwargs):
|
||||
"""Boolean negation of `messageDiffers` (returns a boolean,
|
||||
|
|
Loading…
Reference in New Issue