From: Victor Stinner Date: Wed, 19 Feb 2014 17:32:03 +0000 (+0100) Subject: Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous... X-Git-Tag: v3.4.0rc2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaeb623ae3f1f7ac516017851224c018cf0310f6;p=thirdparty%2FPython%2Fcpython.git Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit) --- diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 36bb93a28ab6..3720cc7560bc 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -509,7 +509,7 @@ class EventLoopTestsMixin: self.loop.run_forever() self.assertEqual(caught, 1) - def _basetest_create_connection(self, connection_fut, check_sockname): + def _basetest_create_connection(self, connection_fut, check_sockname=True): tr, pr = self.loop.run_until_complete(connection_fut) self.assertIsInstance(tr, asyncio.Transport) self.assertIsInstance(pr, asyncio.Protocol)