what's a bytes
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 @@
         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):
         """