diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-10-27 10:51:00 +0900 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-10-27 10:51:00 +0900 |
commit | 225a08f9e4b507493744f566b8f0a8bf2a06e82e (patch) | |
tree | a6a5c7023262ed07368de1ce8ece035ee6559951 | |
parent | 39c4445347ec3778a3cf0c68a0116dbbc4c53fa6 (diff) | |
download | cryptography-225a08f9e4b507493744f566b8f0a8bf2a06e82e.tar.gz cryptography-225a08f9e4b507493744f566b8f0a8bf2a06e82e.tar.bz2 cryptography-225a08f9e4b507493744f566b8f0a8bf2a06e82e.zip |
work on py3
-rw-r--r-- | tests/test_x509.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index 19b525d3..43eca472 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -872,8 +872,8 @@ class TestRSACertificateRequest(object): issuer = tbs_cert.getComponentByName('issuer') # \x13 is printable string. The first byte of the value of the # node corresponds to the ASN.1 string type. - assert subject[0][0][0][1][0] == "\x13" - assert issuer[0][0][0][1][0] == "\x13" + assert subject[0][0][0][1][0] == b"\x13"[0] + assert issuer[0][0][0][1][0] == b"\x13"[0] class TestCertificateBuilder(object): |