Skip to content

Commit

Permalink
Fixes missing attribute on Python 3.4 asyncio on Travis CI
Browse files Browse the repository at this point in the history
Cannot reproduce locally.
  • Loading branch information
cecton committed Jul 17, 2017
1 parent 102534f commit 0c1909c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_run_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def test_background_task(loop, mocker):

app = web.Application()
mocked_func = mocker.Mock()
app.add_task(asyncio.coroutine(mocked_func))
app.add_task(asyncio.coroutine(lambda app: mocked_func(app)))

mocker.spy(app, 'create_all_tasks')
mocker.spy(app, 'cancel_all_tasks')
Expand Down

0 comments on commit 0c1909c

Please sign in to comment.