Emit the deprecation one level up the stack (#5348)

Ref: https://github.com/pyca/cryptography/issues/5335#issuecomment-661880248
This commit is contained in:
Sviatoslav Sydorenko 2020-07-26 02:29:01 +02:00 committed by GitHub
parent 2329b41545
commit a58c3d809a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,4 +37,5 @@ if sys.version_info[0] == 2:
"it is now deprecated in cryptography, and will be removed in a "
"future release.",
CryptographyDeprecationWarning,
stacklevel=2,
)