first revoked cert in the CRL has NID_crl_reason first in list
so we'll use the second revoked because to cover this branch we need to
see a NID that's not NID_crl_reason
diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index b43b63b..873fcb8 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -3044,8 +3044,8 @@
"""
crl = load_crl(FILETYPE_PEM, crlDataUnsupportedExtension)
revoked = crl.get_revoked()
- reason = revoked[0].get_reason()
- assert reason is None
+ reason = revoked[1].get_reason()
+ assert reason == 'Unspecified'
def test_reason(self):
"""