ensure_future -> add_task

This commit is contained in:
Raphael Deem
2017-02-12 12:07:59 -08:00
parent 94b2352c2c
commit b5e46e83e2
2 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ def test_ensure_future():
e.set()
app = sanic.Sanic()
app.ensure_future(coro)
app.add_task(coro)
@app.route('/early')
def not_set(request):