From 87cb3dfa2f2c4e53753686d9a22b2ec9311a6ef7 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Thu, 1 Sep 2011 14:50:57 +0100 Subject: [PATCH] Fixes broken ConnectionPool test --- kombu/tests/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kombu/tests/test_connection.py b/kombu/tests/test_connection.py index 4ebd6185..b01fbd44 100644 --- a/kombu/tests/test_connection.py +++ b/kombu/tests/test_connection.py @@ -150,7 +150,7 @@ class test_ConnectionPool(ResourceCase): q = P._resource.queue self.assertIsNotNone(q[0]._connection) self.assertIsNotNone(q[1]._connection) - self.assertIsNone(q[2]._connection) + self.assertIsNone(q[2]()._connection) class test_ChannelPool(ResourceCase):