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 ccf1c0a commit fe02b6fCopy full SHA for fe02b6f
1 file changed
tests/test_trustme.py
@@ -284,7 +284,7 @@ def test_ca_from_pem(tmp_path: Path) -> None:
284
assert ca1.private_key_pem.bytes() == ca2.private_key_pem.bytes()
285
286
287
-def safe_close(sock: Optional[socket.socket]) -> None:
+def safe_close(sock: Optional[Union[socket.socket, SslSocket]]) -> None:
288
if sock is None:
289
return
290
try:
0 commit comments