Index: urllib3-1.21.1/test/with_dummyserver/test_https.py =================================================================== --- urllib3-1.21.1.orig/test/with_dummyserver/test_https.py +++ urllib3-1.21.1/test/with_dummyserver/test_https.py @@ -503,7 +503,7 @@ class TestHTTPS(HTTPSDummyServerTestCase class TestHTTPS_TLSv1(HTTPSDummyServerTestCase): certs = DEFAULT_CERTS.copy() - certs['ssl_version'] = ssl.PROTOCOL_TLSv1 + certs['ssl_version'] = ssl.PROTOCOL_TLSv1_2 def setUp(self): self._pool = HTTPSConnectionPool(self.host, self.port)