Skip to content

Commit 82e6a90

Browse files
committed
Add temporary hack to skip DTLS test on old cryptography versions
1 parent e4a64de commit 82e6a90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_ssl.py

+5
Original file line numberDiff line numberDiff line change
@@ -4255,6 +4255,11 @@ def client_callback(*args): # pragma: nocover
42554255
handshake_in_memory(client, server)
42564256

42574257

4258+
# XX remove this skipif before merging
4259+
@pytest.mark.skipif(
4260+
not hasattr(SSL._lib, "DTLSv1_listen"),
4261+
reason="need newer cryptography",
4262+
)
42584263
class TestDTLS(object):
42594264
def test_it_works_at_all(self):
42604265
s_ctx = Context(DTLS_METHOD)

0 commit comments

Comments
 (0)