示例#1
0
 def test2():
     with local_base_config(conf2):
         pool2 = EventletPool(5)
         list(pool2.imap(check2, list(range(200))))
示例#2
0
 def test1():
     with local_base_config(conf1):
         pool1 = EventletPool(5)
         list(pool1.imap(check1, list(range(200))))
示例#3
0
 def test2():
     with local_base_config(conf2):
         pool2 = EventletPool(5)
         list(pool2.imap(check2, range(200)))
示例#4
0
 def mk_pool(self):
     if not _has_eventlet:
         raise SkipTest('eventlet required')
     return EventletPool()
示例#5
0
 def test1():
     with local_base_config(conf1):
         pool1 = EventletPool(5)
         list(pool1.imap(check1, range(200)))