diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:20:52 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:20:52 (GMT) |
| commit | ca0d0384adf8a2a65e008410025b7ad1a22cf1c6 (patch) | |
| tree | f7006d2f760a0fd6f94352364ed95084ca0bd90d | |
| parent | 5567f89c6f51a30034e07d6a4a678caf5b4bbb37 (diff) | |
| parent | e63f1a65ed1541ef09b18ca8077bd199322f7bf1 (diff) | |
| download | cpython-ca0d0384adf8a2a65e008410025b7ad1a22cf1c6.zip cpython-ca0d0384adf8a2a65e008410025b7ad1a22cf1c6.tar.gz cpython-ca0d0384adf8a2a65e008410025b7ad1a22cf1c6.tar.bz2 | |
Merge 3.5 (test_asyncio)
| -rw-r--r-- | Lib/test/test_asyncio/test_events.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 24c3f1e..3488101 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -619,9 +619,6 @@ class EventLoopTestsMixin: self.assertEqual(peercert, client.get_extra_info('peercert')) - # Python disables compression to prevent CRIME attacks by default - self.assertIsNone(client.get_extra_info('compression')) - # test SSL cipher cipher = client.get_extra_info('cipher') self.assertIsInstance(cipher, tuple) @@ -639,6 +636,8 @@ class EventLoopTestsMixin: client.get_extra_info('cipher')) self.assertEqual(sslobj.getpeercert(), client.get_extra_info('peercert')) + self.assertEqual(sslobj.compression(), + client.get_extra_info('compression')) def _basetest_create_ssl_connection(self, connection_fut, check_sockname=True, |
