11 lines
139 B
Python
11 lines
139 B
Python
|
import gevent
|
||
|
from gevent.testing.util import alarm
|
||
|
|
||
|
|
||
|
alarm(3)
|
||
|
|
||
|
|
||
|
with gevent.Timeout(0.01, False):
|
||
|
while True:
|
||
|
gevent.sleep(0)
|