commit | 20a4c081bfa4ba478fcf4e58e68d58c303401ba5 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sat Sep 05 14:24:15 2015 -0400 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Sat Sep 05 14:24:15 2015 -0400 |
tree | ffdb16fc9a2ddd8d751f9a905077301664d45071 | |
parent | 122717b2c639d68fbddbd127242d903ff4cb4eeb [diff] [blame] |
py3k fix
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index 5b4523b..eb0652b 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py
@@ -2172,8 +2172,8 @@ try: clientSSL.connect(("127.0.0.1", 1)) except error as e: - pass - assert e.args[0] == ECONNREFUSED + exc = e + assert exc.args[0] == ECONNREFUSED def test_connect(self): """