Skip to content

Commit

Permalink
on windows, some test is now raising a fully fledged ClientOSError in…
Browse files Browse the repository at this point in the history
…stead of an empty ServerDisconnectedError
  • Loading branch information
arthurdarcet committed Nov 8, 2017
1 parent 9ae1016 commit f5366ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_functional_oldstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ async def go():
await r.read()
self.assertEqual(1, len(connector._conns))

with self.assertRaises(aiohttp.ServerDisconnectedError):
with self.assertRaises(aiohttp.ClientConnectionError):
await session.request('GET', url)
self.assertEqual(0, len(connector._conns))

Expand Down

0 comments on commit f5366ab

Please sign in to comment.