commit | cc30c93a5fa15490820b5786b2d336a2c4dde5f1 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Thu Apr 17 17:06:50 2014 -0400 |
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Thu Apr 17 17:06:50 2014 -0400 |
tree | f5fd2c7eb1125e56965e8b8ffe4b94ecb013cd48 | |
parent | c48cd8177b3bf107073a2c075173722fdbeb809e [diff] |
Some versions of Python do not support the unicode literal syntax.
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index beb5d28..fdeff9d 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py
@@ -1233,7 +1233,7 @@ context = Context(TLSv1_METHOD) try: context._set_tmp_ecdh_curve_by_nid( - u"curve", _lib.OBJ_sn2nid(b"sha256")) + u("curve"), _lib.OBJ_sn2nid(b"sha256")) except UnsupportedEllipticCurve: pass else: