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