Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Sep 23, 2015
1 parent 5fc3129 commit 7aa9333
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/pep492/test_await.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import aiohttp_jinja2
import jinja2
from aiohttp import web

from aiohttp_debugtoolbar import middleware, setup as tbsetup

from ..base import BaseTest
Expand Down Expand Up @@ -37,8 +36,7 @@ async def func(request):
async def go():
app, srv, handler = await self._setup_app(func)

resp = await aiohttp.request('GET', self.url,
loop=self.loop)
resp = await aiohttp.request('GET', self.url, loop=self.loop)
self.assertEqual(200, resp.status)

body = await resp.read()
Expand All @@ -47,4 +45,4 @@ async def go():
await handler.finish_connections()
srv.close()

self.loop.run_until_complete(go())
self.loop.run_until_complete(go())

0 comments on commit 7aa9333

Please sign in to comment.