diff options
-rw-r--r-- | src/cryptography/exceptions.py | 11 | ||||
-rw-r--r-- | src/cryptography/utils.py | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/cryptography/exceptions.py b/src/cryptography/exceptions.py index 3bf8a75b..4917e535 100644 --- a/src/cryptography/exceptions.py +++ b/src/cryptography/exceptions.py @@ -57,14 +57,3 @@ class InternalError(Exception): class InvalidKey(Exception): pass - - -InvalidToken = utils.deprecated( - twofactor.InvalidToken, - __name__, - ( - "The InvalidToken exception has moved to the " - "cryptography.hazmat.primitives.twofactor module" - ), - utils.DeprecatedIn09 -) diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index dbd961f7..4449e85a 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py @@ -12,8 +12,7 @@ import sys import warnings -DeprecatedIn09 = DeprecationWarning -DeprecatedIn10 = PendingDeprecationWarning +DeprecatedIn10 = DeprecationWarning def read_only_property(name): |