mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
This commit is contained in:
parent
df90ae69fe
commit
eaeb623ae3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue