From 06a45ff35ac071252b6a6fef451fa240d7859093 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 16 Oct 2003 10:46:04 +0000 Subject: [PATCH] Eh, just made the formatting of assertActionRegexp different. --- test/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.py b/test/test.py index a6d6d0f90..39f5de07a 100755 --- a/test/test.py +++ b/test/test.py @@ -248,9 +248,9 @@ class PluginTestCase(unittest.TestCase): if m is None: raise TimeoutError, query self.failUnless(ircmsgs.isAction(m)) - self.failUnless(re.search(regexp, ircmsgs.unAction(m), flags), - '%r does not match %r' % (ircmsgs.unAction(m), - regexp)) + s = ircmsgs.unAction(m) + self.failUnless(re.search(regexp, s, flags), + '%r does not match %r' % (s, regexp)) class ChannelPluginTestCase(PluginTestCase): channel = '#test'