Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
This commit is contained in:
parent
df90ae69fe
commit
eaeb623ae3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue