human
Complete this python program:
def async_test(method):
assistant
#Here is the Python program you requested.

    """Decorator for tests running in test cases derived from
    tornado.testing.AsyncTestCase and tornado.testing.AsyncHTTPTestCase.
    On error, calls self.stop().
    NOTE: Tests are responsible for calling self.stop() to signal to
    tornado async test framework that test is complete.
    """
    @functools.wraps(method)
    def Wrapper(self):
        method(self)
        self.wait()
    return Wrapper