new ip
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import gevent
|
||||
|
||||
from gevent import testing as greentest
|
||||
|
||||
|
||||
class Test(greentest.TestCase):
|
||||
|
||||
def test(self):
|
||||
|
||||
def func():
|
||||
pass
|
||||
|
||||
|
||||
a = gevent.spawn(func)
|
||||
b = gevent.spawn(func)
|
||||
gevent.joinall([a, b, a])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
greentest.main()
|
||||
Reference in New Issue
Block a user