aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_protocol_http2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/test_protocol_http2.py')
-rw-r--r--test/mitmproxy/test_protocol_http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_protocol_http2.py b/test/mitmproxy/test_protocol_http2.py
index c2c736af..6d3bb43f 100644
--- a/test/mitmproxy/test_protocol_http2.py
+++ b/test/mitmproxy/test_protocol_http2.py
@@ -26,7 +26,7 @@ import h2
from . import tservers
requires_alpn = pytest.mark.skipif(
- not OpenSSL._util.lib.Cryptography_HAS_ALPN,
+ not netlib.tcp.HAS_ALPN,
reason="requires OpenSSL with ALPN support")