Skip to content

Commit

Permalink
Remove use of private API of the ssl module
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jun 25, 2024
1 parent 4ce3d30 commit 398e04d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ async def test_ssl_context(monkeypatch) -> None:
with pytest.raises(TypeError):
docker = Docker(ssl_context="bad ssl context") # type: ignore
ssl_ctx = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
ssl_ctx.set_ciphers(ssl._RESTRICTED_SERVER_CIPHERS) # type: ignore[attr-defined]
ssl_ctx.load_verify_locations(cafile=str(cert_dir / "ca.pem"))
ssl_ctx.load_cert_chain(
certfile=str(cert_dir / "cert.pem"), keyfile=str(cert_dir / "key.pem")
Expand Down

0 comments on commit 398e04d

Please sign in to comment.