Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e162f commit 972d5bbCopy full SHA for 972d5bb
1 file changed
Lib/test/test_ssl.py
@@ -1385,10 +1385,11 @@ def test_echo(self):
1385
if support.verbose:
1386
sys.stdout.write("\n")
1387
for protocol in PROTOCOLS:
1388
- context = ssl.SSLContext(protocol)
1389
- context.load_cert_chain(CERTFILE)
1390
- server_params_test(context, context,
1391
- chatty=True, connectionchatty=True)
+ with self.subTest(protocol=ssl._PROTOCOL_NAMES[protocol]):
+ context = ssl.SSLContext(protocol)
+ context.load_cert_chain(CERTFILE)
+ server_params_test(context, context,
1392
+ chatty=True, connectionchatty=True)
1393
1394
def test_getpeercert(self):
1395
0 commit comments