We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f87336 commit 3c3c8dcCopy full SHA for 3c3c8dc
tests/test_aiohttp.py
@@ -39,7 +39,7 @@ async def handle_request(self, message, payload):
39
async def test():
40
for addr in (('localhost', port),
41
('127.0.0.1', port)):
42
- with aiohttp.ClientSession() as client:
+ async with aiohttp.ClientSession() as client:
43
async with client.get('http://{}:{}'.format(*addr)) as r:
44
self.assertEqual(r.status, 200)
45
self.assertEqual(len(await r.text()), len(PAYLOAD))
0 commit comments