aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/test_tcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/netlib/test_tcp.py')
-rw-r--r--test/netlib/test_tcp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/test_tcp.py b/test/netlib/test_tcp.py
index 2b091ef0..8ae3aa51 100644
--- a/test/netlib/test_tcp.py
+++ b/test/netlib/test_tcp.py
@@ -512,7 +512,7 @@ class TestALPNClient(tservers.ServerTestBase):
alpn_select=b"bar"
)
- if OpenSSL._util.lib.Cryptography_HAS_ALPN:
+ if tcp.HAS_ALPN:
def test_alpn(self):
c = tcp.TCPClient(("127.0.0.1", self.port))
c.connect()