We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd36e91 commit a1a834eCopy full SHA for a1a834e
tests/test_connection.py
@@ -378,7 +378,8 @@ async def test_client_open_invalid_ssl(
378
379
url = f'ws://{HOST}:{echo_server.port}{RESOURCE}'
380
with pytest.raises(ValueError, match='^SSL context must be None for ws: URL scheme$' ):
381
- await connect_websocket_url(nursery, url, ssl_context=ssl.SSLContext(ssl.PROTOCOL_SSLv23))
+ await connect_websocket_url(
382
+ nursery, url, ssl_context=ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT))
383
384
385
async def test_ascii_encoded_path_is_ok(echo_server: WebSocketServer) -> None:
0 commit comments