Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
cryptography / deprecated_module.py
Size: Mime:
# 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