mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix for buggy test
This commit is contained in:
parent
8abdb8abd8
commit
8691bff6db
1 changed files with 1 additions and 0 deletions
|
@ -1835,6 +1835,7 @@ else:
|
|||
def test_compression_disabled(self):
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
|
||||
context.load_cert_chain(CERTFILE)
|
||||
context.options |= ssl.OP_NO_COMPRESSION
|
||||
stats = server_params_test(context, context,
|
||||
chatty=True, connectionchatty=True)
|
||||
self.assertIs(stats['compression'], None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue