commit | e7f5198ef7bcf4dc920ed85502f1c8ca0f7f9906 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sun Sep 11 11:48:14 2016 -0400 |
committer | Hynek Schlawack <hs@ox.cx> | Sun Sep 11 17:48:14 2016 +0200 |
tree | dfa146986f7ae156ec6995606aef0adf8e0e70e4 | |
parent | 51d424c399df88f68c2fb9a389843f9f847f2956 [diff] [blame] |
Fixed #529 -- use the native bytes syntax (#536)
diff --git a/tests/util.py b/tests/util.py index 56d7154..2cab91f 100644 --- a/tests/util.py +++ b/tests/util.py
@@ -24,11 +24,11 @@ from . import memdbg -from OpenSSL._util import ffi, lib, byte_string as b +from OpenSSL._util import ffi, lib # This is the UTF-8 encoding of the SNOWMAN unicode code point. -NON_ASCII = b("\xe2\x98\x83").decode("utf-8") +NON_ASCII = b"\xe2\x98\x83".decode("utf-8") class TestCase(TestCase):