From d10480b27416508163bdb7d22265f25aae3d5b7d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 21 Jul 2017 13:16:24 -0400 Subject: [PATCH] Fixed #3798 -- use the correct stacklevel on this warning (#3803) --- src/cryptography/hazmat/backends/openssl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptography/hazmat/backends/openssl/utils.py b/src/cryptography/hazmat/backends/openssl/utils.py index ff1b97458735..05d0fe589158 100644 --- a/src/cryptography/hazmat/backends/openssl/utils.py +++ b/src/cryptography/hazmat/backends/openssl/utils.py @@ -41,5 +41,5 @@ def _warn_sign_verify_deprecated(): "signer and verifier have been deprecated. Please use sign " "and verify instead.", utils.PersistentlyDeprecated, - stacklevel=2 + stacklevel=3 )