diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 2da1386992b..9996ff129db 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1801,7 +1801,6 @@ else: context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) context.verify_mode = ssl.CERT_REQUIRED context.load_verify_locations(SIGNING_CA) - context.verify_mode = ssl.CERT_REQUIRED context.verify_flags = ssl.VERIFY_DEFAULT # VERIFY_DEFAULT should pass