From f5366abfaaae996ac7cf6ef218a2aabd0a08307b Mon Sep 17 00:00:00 2001 From: Arthur Darcet Date: Mon, 24 Jul 2017 18:34:06 +0200 Subject: [PATCH] on windows, some test is now raising a fully fledged ClientOSError instead of an empty ServerDisconnectedError --- tests/test_client_functional_oldstyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client_functional_oldstyle.py b/tests/test_client_functional_oldstyle.py index 1a715b2c6ed..b56dbd4406e 100644 --- a/tests/test_client_functional_oldstyle.py +++ b/tests/test_client_functional_oldstyle.py @@ -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))