def test_no_timeout(self):
# A test that does not exceed its timeout should succeed.
@gen_test(timeout=1)
def test(self):
time = self.io_loop.time
yield gen.Task(self.io_loop.add_timeout, time() + 0.1)
test(self)
self.finished = True
testing_test.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录