diff --git a/python/pyarrow/tests/test_flight.py b/python/pyarrow/tests/test_flight.py index 4c8c40d884b4..3a5f5778f62b 100644 --- a/python/pyarrow/tests/test_flight.py +++ b/python/pyarrow/tests/test_flight.py @@ -1049,8 +1049,11 @@ def test_tls_disable_server_verification(): certs = example_tls_certs() with ConstantFlightServer(tls_certificates=certs["certificates"]) as s: - client = FlightClient(('localhost', s.port), - disable_server_verification=True) + try: + client = FlightClient(('localhost', s.port), + disable_server_verification=True) + except NotImplementedError: + pytest.skip('disable_server_verification feature is not available') data = client.do_get(flight.Ticket(b'ints')).read_all() assert data.equals(table)