From 3b2102af549c1095d5478bb1243ee4cf76b9762b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 5 Apr 2020 21:00:55 -0400 Subject: Removed deprecated behavior in AKI.from_issuer_subject_key_identifier (#5182) --- tests/x509/test_x509_ext.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests') 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 ) -- cgit v1.2.3