Commit 50076f71 authored by Denis Bilenko's avatar Denis Bilenko

add tests for Event.wait and AsyncResult.wait

parent 0b965836
import greentest
import gevent
from gevent.event import AsyncResult
from gevent.event import Event, AsyncResult
DELAY = 0.01
class TestEventWait(greentest.GenericWaitTestCase):
def wait(self, timeout):
Event().wait(timeout=timeout)
class TestAsyncResultWait(greentest.GenericWaitTestCase):
def wait(self, timeout):
AsyncResult().wait(timeout=timeout)
class TestAsyncResult(greentest.TestCase):
def test_set_exc(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment