mirror of https://github.com/scrapy/scrapy.git
Remove an obsolete service_identity check.
This commit is contained in:
parent
542764c02f
commit
190967439d
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue