コード例 #1
0
ファイル: test_async.py プロジェクト: zstadler/mapproxy
 def test2():
     with local_base_config(conf2):
         pool2 = EventletPool(5)
         list(pool2.imap(check2, list(range(200))))
コード例 #2
0
ファイル: test_async.py プロジェクト: zstadler/mapproxy
 def test1():
     with local_base_config(conf1):
         pool1 = EventletPool(5)
         list(pool1.imap(check1, list(range(200))))
コード例 #3
0
ファイル: test_async.py プロジェクト: Anderson0026/mapproxy
 def test2():
     with local_base_config(conf2):
         pool2 = EventletPool(5)
         list(pool2.imap(check2, range(200)))
コード例 #4
0
ファイル: test_async.py プロジェクト: zstadler/mapproxy
 def mk_pool(self):
     if not _has_eventlet:
         raise SkipTest('eventlet required')
     return EventletPool()
コード例 #5
0
ファイル: test_async.py プロジェクト: Anderson0026/mapproxy
 def test1():
     with local_base_config(conf1):
         pool1 = EventletPool(5)
         list(pool1.imap(check1, range(200)))