singe/thirdparty/openssl/pyca-cryptography/tests/deprecated_module.py
2023-11-16 22:15:24 -06:00

18 lines
438 B
Python

# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from cryptography import utils
# This module exists to test `cryptography.utils.deprecated`
DEPRECATED = 3
utils.deprecated(
DEPRECATED,
__name__,
"Test Deprecated Object",
DeprecationWarning,
name="DEPRECATED",
)
NOT_DEPRECATED = 12