From 190967439de2b491c6d7a2dfb62c2ed6043af882 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Sun, 2 Feb 2025 01:17:41 +0500 Subject: [PATCH] Remove an obsolete service_identity check. --- tests/test_downloader_handlers.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_downloader_handlers.py b/tests/test_downloader_handlers.py index b3ca16c84..3a63ffbb5 100644 --- a/tests/test_downloader_handlers.py +++ b/tests/test_downloader_handlers.py @@ -685,13 +685,6 @@ class Https11InvalidDNSPattern(SimpleHttpsTest): keyfile = "keys/localhost.ip.key" certfile = "keys/localhost.ip.crt" - def setUp(self): - try: - from service_identity.exceptions import CertificateError # noqa: F401 - except ImportError: - raise unittest.SkipTest("cryptography lib is too old") - super().setUp() - class Https11CustomCiphers(SimpleHttpsTest): cipher_string = "CAMELLIA256-SHA"