match_face/.venv/Lib/site-packages/gevent/tests/test__sleep0.py

11 lines
139 B
Python
Raw Normal View History

import gevent
from gevent.testing.util import alarm
alarm(3)
with gevent.Timeout(0.01, False):
while True:
gevent.sleep(0)