mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 15:29:50 +00:00
assertMessageEqual: fix error msg
This commit is contained in:
@ -79,7 +79,7 @@ class _IrcTestCase(unittest.TestCase):
|
|||||||
`subparams`, and `target` are given."""
|
`subparams`, and `target` are given."""
|
||||||
error = self.messageDiffers(msg, **kwargs)
|
error = self.messageDiffers(msg, **kwargs)
|
||||||
if error:
|
if error:
|
||||||
raise self.failureException(msg)
|
raise self.failureException(error)
|
||||||
|
|
||||||
def messageEqual(self, msg, **kwargs):
|
def messageEqual(self, msg, **kwargs):
|
||||||
"""Boolean negation of `messageDiffers` (returns a boolean,
|
"""Boolean negation of `messageDiffers` (returns a boolean,
|
||||||
|
Reference in New Issue
Block a user