@@ -1696,7 +1696,8 @@ def mock_make_ssl_transport(sock, protocol, sslcontext, waiter,
16961696 server_side = False ,
16971697 server_hostname = 'python.org' ,
16981698 ssl_handshake_timeout = handshake_timeout ,
1699- ssl_shutdown_timeout = shutdown_timeout )
1699+ ssl_shutdown_timeout = shutdown_timeout ,
1700+ context = ANY )
17001701 # Next try an explicit server_hostname.
17011702 self .loop ._make_ssl_transport .reset_mock ()
17021703 coro = self .loop .create_connection (
@@ -1711,7 +1712,8 @@ def mock_make_ssl_transport(sock, protocol, sslcontext, waiter,
17111712 server_side = False ,
17121713 server_hostname = 'perl.com' ,
17131714 ssl_handshake_timeout = handshake_timeout ,
1714- ssl_shutdown_timeout = shutdown_timeout )
1715+ ssl_shutdown_timeout = shutdown_timeout ,
1716+ context = ANY )
17151717 # Finally try an explicit empty server_hostname.
17161718 self .loop ._make_ssl_transport .reset_mock ()
17171719 coro = self .loop .create_connection (
@@ -1726,7 +1728,8 @@ def mock_make_ssl_transport(sock, protocol, sslcontext, waiter,
17261728 server_side = False ,
17271729 server_hostname = '' ,
17281730 ssl_handshake_timeout = handshake_timeout ,
1729- ssl_shutdown_timeout = shutdown_timeout )
1731+ ssl_shutdown_timeout = shutdown_timeout ,
1732+ context = ANY )
17301733
17311734 def test_create_connection_no_ssl_server_hostname_errors (self ):
17321735 # When not using ssl, server_hostname must be None.
0 commit comments