gh-132307: Remove unnecessary check in asyncio/base_events.py (#132324)

This commit is contained in:
Stan Ulbrych 2025-04-10 16:41:32 +01:00 committed by GitHub
parent 1557da622c
commit a214db0c54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1666,8 +1666,7 @@ async def connect_accepted_socket(
raise ValueError(
'ssl_shutdown_timeout is only meaningful with ssl')
if sock is not None:
_check_ssl_socket(sock)
_check_ssl_socket(sock)
transport, protocol = await self._create_connection_transport(
sock, protocol_factory, ssl, '', server_side=True,