aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509_ext.py
diff options
context:
space:
mode:
authorPhoebe Queen <foibey@gmail.com>2015-08-12 11:24:09 +0100
committerPhoebe Queen <foibey@gmail.com>2015-08-12 11:24:09 +0100
commite3c10077a395399d743faaffed42ca9fc33a5087 (patch)
treeaeef91139243515ae8d614062c81479df9174155 /tests/test_x509_ext.py
parentc93752b2f97b54ee3ea5f9b3c89151d06ef3a919 (diff)
downloadcryptography-e3c10077a395399d743faaffed42ca9fc33a5087.tar.gz
cryptography-e3c10077a395399d743faaffed42ca9fc33a5087.tar.bz2
cryptography-e3c10077a395399d743faaffed42ca9fc33a5087.zip
undid erroneous assertion
Diffstat (limited to 'tests/test_x509_ext.py')
-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):