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