diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-10-27 10:43:37 +0900 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-10-27 10:43:37 +0900 |
commit | 39c4445347ec3778a3cf0c68a0116dbbc4c53fa6 (patch) | |
tree | 92a391ea88dde5b1c181e11193f7a2ec80910095 | |
parent | 8b5d094ca3bb5cafa61001b83c1798e40af37223 (diff) | |
download | cryptography-39c4445347ec3778a3cf0c68a0116dbbc4c53fa6.tar.gz cryptography-39c4445347ec3778a3cf0c68a0116dbbc4c53fa6.tar.bz2 cryptography-39c4445347ec3778a3cf0c68a0116dbbc4c53fa6.zip |
remove unneeded str
-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 79424752..19b525d3 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 str(subject[0][0][0][1])[0] == "\x13" - assert str(issuer[0][0][0][1])[0] == "\x13" + assert subject[0][0][0][1][0] == "\x13" + assert issuer[0][0][0][1][0] == "\x13" class TestCertificateBuilder(object): |