diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-04-17 17:06:50 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-04-17 17:06:50 -0400 |
commit | cc30c93a5fa15490820b5786b2d336a2c4dde5f1 (patch) | |
tree | f5fd2c7eb1125e56965e8b8ffe4b94ecb013cd48 | |
parent | c48cd8177b3bf107073a2c075173722fdbeb809e (diff) | |
download | pyopenssl-cc30c93a5fa15490820b5786b2d336a2c4dde5f1.tar.gz |
Some versions of Python do not support the unicode literal syntax.
-rw-r--r-- | OpenSSL/test/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class ContextTests(TestCase, _LoopbackMixin): 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: |