def func(): raise greentest.ExpectedException( 'TestAsyncResultAsLinkTarget.test_set_exception')
def t1(): raise greentest.ExpectedException()
def application(env, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) yield "hello" raise greentest.ExpectedException('TestErrorAfterChunk')
def application(env, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) raise greentest.ExpectedException('TestError_after_start_response.application')
def application(env, start_response): raise greentest.ExpectedException('TestError.application')
def fail(): raise greentest.ExpectedException( 'TestExceptionInMainloop.test_sleep/fail')
def handle(self, r): raise greentest.ExpectedException('TestException.handle')