Skip to content

Commit 4ac30f1

Browse files
committed
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
1 parent 8c33ffd commit 4ac30f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_asyncio/test_events.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def my_handler(*args):
509509
self.loop.run_forever()
510510
self.assertEqual(caught, 1)
511511

512-
def _basetest_create_connection(self, connection_fut, check_sockname):
512+
def _basetest_create_connection(self, connection_fut, check_sockname=True):
513513
tr, pr = self.loop.run_until_complete(connection_fut)
514514
self.assertIsInstance(tr, asyncio.Transport)
515515
self.assertIsInstance(pr, asyncio.Protocol)

0 commit comments

Comments
 (0)