diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-04-05 21:00:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 20:00:55 -0500 |
commit | 3b2102af549c1095d5478bb1243ee4cf76b9762b (patch) | |
tree | 3bfb4c6e1dc5f56566a4428803698923c77bc9bf /tests/x509 | |
parent | e94a9f493b208b83982ff2378272879e74829f4f (diff) | |
download | cryptography-3b2102af549c1095d5478bb1243ee4cf76b9762b.tar.gz cryptography-3b2102af549c1095d5478bb1243ee4cf76b9762b.tar.bz2 cryptography-3b2102af549c1095d5478bb1243ee4cf76b9762b.zip |
Removed deprecated behavior in AKI.from_issuer_subject_key_identifier (#5182)
Diffstat (limited to 'tests/x509')
-rw-r--r-- | tests/x509/test_x509_ext.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/x509/test_x509_ext.py b/tests/x509/test_x509_ext.py index 10d217ab..19ce4363 100644 --- a/tests/x509/test_x509_ext.py +++ b/tests/x509/test_x509_ext.py @@ -3271,13 +3271,6 @@ class TestAuthorityKeyIdentifierExtension(object): ski_ext = issuer_cert.extensions.get_extension_for_class( x509.SubjectKeyIdentifier ) - # This was the incorrect arg we want to deprecate and remove - with pytest.warns(utils.CryptographyDeprecationWarning): - aki = x509.AuthorityKeyIdentifier.\ - from_issuer_subject_key_identifier(ski_ext) - assert ext.value == aki - - # Here's what we actually documented and want to do aki = x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier( ski_ext.value ) |