summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjav <sam.rr.lee@gmail.com>2015-09-07 13:05:10 +0100
committerkjav <sam.rr.lee@gmail.com>2015-09-07 13:05:10 +0100
commit922934718fddd77ba2905b176ee5db99b7aa74b3 (patch)
treebe8b378c9af0d4209ffc59445d7fc131273cc204
parent3178c16783f425ab1ee3d61a265b2d8cdf9a4202 (diff)
downloadpyopenssl-922934718fddd77ba2905b176ee5db99b7aa74b3.tar.gz
Removed unnecessary try-except
-rw-r--r--OpenSSL/test/test_ssl.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index bbdd7ec..39e878f 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -2370,10 +2370,7 @@ class ConnectionTests(TestCase, _LoopbackMixin):
client.state_string().decode())
for conn in [server, client]:
- try:
- conn.do_handshake()
- except WantReadError:
- pass
+ conn.do_handshake()
self.assertEqual('SSL negotiation finished successfully',
server.state_string().decode())