Returns arg after a number of IOLoop iterations.
(self, iterations, arg)
| 30 | class GenBasicTest(AsyncTestCase): |
| 31 | @gen.coroutine |
| 32 | def delay(self, iterations, arg): |
| 33 | """Returns arg after a number of IOLoop iterations.""" |
| 34 | for i in range(iterations): |
| 35 | yield gen.moment |
| 36 | raise gen.Return(arg) |
| 37 | |
| 38 | @gen.coroutine |
| 39 | def async_future(self, result): |
no outgoing calls
no test coverage detected