aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathod/test_pathod.py')
-rw-r--r--test/pathod/test_pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py
index 98da7d28..ee5fc7bd 100644
--- a/test/pathod/test_pathod.py
+++ b/test/pathod/test_pathod.py
@@ -282,7 +282,7 @@ class TestHTTP2(tutils.DaemonTests):
noapi = True
nohang = True
- if OpenSSL._util.lib.Cryptography_HAS_ALPN:
+ if tcp.HAS_ALPN:
def test_http2(self):
r, _ = self.pathoc(["GET:/"], ssl=True, use_http2=True)