@@ -489,9 +489,9 @@ def test_set_sigalgs_list_invalid_name(self, context):
489489
490490 def test_set_sigalgs_list_not_supported (self ):
491491 """
492- If no signature algorithms supported by the server are set, the handshake
493- fails with a `"no suitable signature algorithm"` reason string,
494- or 'no shared cipher' on older OpenSSL releases.
492+ If no signature algorithms supported by the server are set,
493+ the handshake fails with a `"no suitable signature algorithm"`
494+ reason string, or 'no shared cipher' on older OpenSSL releases.
495495 """
496496
497497 def make_client (socket ):
@@ -506,8 +506,8 @@ def make_client(socket):
506506
507507 def test_get_sigalgs (self ):
508508 """
509- `Connection.get_sigalgs` returns the signature algorithms send by the client to the server.
510- This is supported only in TLS1_2 and later.
509+ `Connection.get_sigalgs` returns the signature algorithms send by
510+ the client to the server. This is supported only in TLS1_2 and later.
511511 """
512512 def make_client (socket ):
513513 context = Context (TLSv1_2_METHOD )
@@ -517,7 +517,8 @@ def make_client(socket):
517517 return c
518518
519519 srv , client = loopback (
520- server_factory = lambda s : loopback_server_factory (s , TLSv1_2_METHOD ),
520+ server_factory = lambda s : loopback_server_factory (s ,
521+ TLSv1_2_METHOD ),
521522 client_factory = make_client )
522523
523524 sigalgs = srv .get_sigalgs ()
0 commit comments