Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)

This commit is contained in:
Victor Stinner 2014-02-19 18:32:03 +01:00
parent df90ae69fe
commit eaeb623ae3
1 changed files with 1 additions and 1 deletions

View File

@ -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)