cpython: f5f14d65297e (original) (raw)

Mercurial > cpython

changeset 99893:f5f14d65297e 3.5

Issue #25940: Update new SSL tests for self-signed.pythontest.net Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can terminate when unwrap() raises that error. [#25940]

Martin Panter
date Thu, 14 Jan 2016 13:05:46 +0000
parents c3aa4b48b905
children 2f2b42a8b34d bd9d5bc8bc95
files Lib/test/test_ssl.py
diffstat 1 files changed, 14 insertions(+), 13 deletions(-)[+] [-] Lib/test/test_ssl.py 27

line wrap: on

line diff

--- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1688,13 +1688,8 @@ class NetworkedBIOTests(unittest.TestCas try: ret = func(*args) except ssl.SSLError as e:

@@ -1717,16 +1712,16 @@ class NetworkedBIOTests(unittest.TestCas return ret def test_handshake(self):

@@ -1739,14 +1734,20 @@ class NetworkedBIOTests(unittest.TestCas self.assertTrue(sslobj.getpeercert()) if 'tls-unique' in ssl.CHANNEL_BINDING_TYPES: self.assertTrue(sslobj.get_channel_binding('tls-unique'))

def test_read_write_data(self):