This commit is contained in:
Ask Solem 2012-11-29 12:37:17 +00:00
parent 48bbb3de19
commit fd3aa52383
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class test_Channel(TestCase):
cc = self.channel._create_client = Mock()
client = cc.return_value = Mock()
with self.channel.conn_or_acquire() as _client:
with self.channel.conn_or_acquire():
pass
self.channel.pool.release.assert_called_with(client.connection)
cc.assert_called_with()