You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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()
|