From 2ed2f6a5ffd80dd9414c865424ea5a3f41920288 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 30 Oct 2003 00:12:39 +0000 Subject: [PATCH] Used the wrong variable in assertNoResponse. --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 1bdb947b2..a6c0449bf 100755 --- a/test/test.py +++ b/test/test.py @@ -217,7 +217,7 @@ class PluginTestCase(unittest.TestCase): def assertNoResponse(self, query, timeout=None): m = self._feedMsg(query, timeout) - self.failIf(m, 'Unexpected response: %s' % msg.args[1]) + self.failIf(m, 'Unexpected response: %r' % m) def assertResponse(self, query, expectedResponse): m = self._feedMsg(query)