summaryrefslogtreecommitdiff
path: root/tests/test_crypto.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-11 10:39:42 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-11 10:39:42 -0400
commit5aad73cf4b612dc93869387cc82e97e3d0ca83a7 (patch)
tree03fa33e61889bfd2084d503bad9faa8a17f09681 /tests/test_crypto.py
parent418411ed7db0731cc2ed8e4a4e8301a29b25414c (diff)
downloadpyopenssl-git-5aad73cf4b612dc93869387cc82e97e3d0ca83a7.tar.gz
what's a bytes
Diffstat (limited to 'tests/test_crypto.py')
-rw-r--r--tests/test_crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index 873fcb8..d5cecad 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -3045,7 +3045,7 @@ class RevokedTests(TestCase):
crl = load_crl(FILETYPE_PEM, crlDataUnsupportedExtension)
revoked = crl.get_revoked()
reason = revoked[1].get_reason()
- assert reason == 'Unspecified'
+ assert reason == b'Unspecified'
def test_reason(self):
"""