aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_x509_ext.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py
index 14df9a22..75fb914d 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -843,7 +843,6 @@ class TestExtensions(object):
exts = cert.extensions
with pytest.raises(x509.ExtensionNotFound) as exc:
ext = exts.get_extension_for_class(x509.BasicConstraints)
- assert ext is None
assert exc.value.oid == ExtensionOID.BASIC_CONSTRAINTS
def test_one_extension_get_for_class(self, backend):