diff options
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r-- | tests/test_x509.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index db26f563..de19d0d3 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -521,7 +521,7 @@ class TestRSACertificate(object): ) with warnings.catch_warnings(): - warnings.simplefilter("always", utils.DeprecatedIn10) + warnings.simplefilter("always", utils.PersistentlyDeprecated) assert cert.serial == 2 assert cert.serial_number == 2 @@ -533,7 +533,7 @@ class TestRSACertificate(object): ) with warnings.catch_warnings(): - warnings.simplefilter("always", utils.DeprecatedIn10) + warnings.simplefilter("always", utils.PersistentlyDeprecated) with pytest.deprecated_call(): cert.serial |