def METHOD_NAME(self):
    self.connections.acquire.return_value = Mock()
    pool = self.MyPool(self.connections, limit=10)
    pool.instance._channel = Mock()
    first = pool._resource.get_nowait()
    self.connections.acquire.reset()
    producer = pool.prepare(first)
    producer.revive.assert_not_called()