From b9b75728e69726604c4ad8fb73152d44cf51105b Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 22 May 2009 13:05:36 +0700 Subject: [PATCH] saranwrap_test: use coropool instead of CoroutinePool --- greentest/saranwrap_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/greentest/saranwrap_test.py b/greentest/saranwrap_test.py index 58c959c..ed45b6d 100644 --- a/greentest/saranwrap_test.py +++ b/greentest/saranwrap_test.py @@ -22,7 +22,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -from eventlet import api, saranwrap, coros +from eventlet import api, saranwrap, coropool import os import sys @@ -292,7 +292,7 @@ sys_path = sys.path""") from greentest import saranwrap_test prox = saranwrap.wrap(saranwrap_test) - pool = coros.CoroutinePool(max_size=4) + pool = coropool.Pool(max_size=4) waiters = [] waiters.append(pool.execute(lambda: self.assertEquals(prox.one, 1))) waiters.append(pool.execute(lambda: self.assertEquals(prox.two, 2)))