From 1f3ddc8024ed4434c2a7020cab31037b679370db Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Fri, 10 Apr 2026 15:11:18 -0400 Subject: [PATCH] suppress expected TLS 1.1 deprecation warning in test --- tests/test_tls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_tls.py b/tests/test_tls.py index 8a8908b..35153b2 100644 --- a/tests/test_tls.py +++ b/tests/test_tls.py @@ -26,6 +26,7 @@ def test_tls12_works(): assert s.version() == "TLSv1.2" +@pytest.mark.filterwarnings("ignore::DeprecationWarning") def test_tls11_rejected(): ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) ctx.minimum_version = ssl.TLSVersion.TLSv1_1