diff options
author | Nick Bastin <nick.bastin@gmail.com> | 2015-12-13 05:37:04 -0800 |
---|---|---|
committer | Nick Bastin <nick.bastin@gmail.com> | 2015-12-20 08:17:09 -0800 |
commit | 99de318242fffabdb46ea5713436a0b8ad63521f (patch) | |
tree | 8b3f3045bbf565bcf2ec7ae71dc32b20f8c0a482 | |
parent | bd079ae1ebf54d9224ec5662c14b0814301cbd02 (diff) | |
download | cryptography-99de318242fffabdb46ea5713436a0b8ad63521f.tar.gz cryptography-99de318242fffabdb46ea5713436a0b8ad63521f.tar.bz2 cryptography-99de318242fffabdb46ea5713436a0b8ad63521f.zip |
PEP8 fixes
-rw-r--r-- | src/cryptography/x509/extensions.py | 4 | ||||
-rw-r--r-- | tests/test_x509_ext.py | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py index 97d78266..71ce8a15 100644 --- a/src/cryptography/x509/extensions.py +++ b/src/cryptography/x509/extensions.py @@ -18,9 +18,7 @@ from cryptography import utils from cryptography.hazmat.primitives import constant_time, serialization from cryptography.x509.general_name import GeneralName, IPAddress, OtherName from cryptography.x509.name import Name -from cryptography.x509.oid import ( - AuthorityInformationAccessOID, ExtensionOID, ObjectIdentifier -) +from cryptography.x509.oid import ExtensionOID, ObjectIdentifier class _SubjectPublicKeyInfo(univ.Sequence): diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py index ca1b9f45..bbdc6079 100644 --- a/tests/test_x509_ext.py +++ b/tests/test_x509_ext.py @@ -1861,7 +1861,6 @@ class TestExtendedKeyUsageExtension(object): class TestAccessDescription(object): def test_invalid_access_method(self): - # access_method can be *any* valid OID with pytest.raises(TypeError): x509.AccessDescription("notanoid", x509.DNSName(u"test")) |