MCPcopy Create free account
hub / github.com/apache/arrow / async_or_skip

Function async_or_skip

python/pyarrow/tests/test_flight_async.py:44–49  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

42
43
44def async_or_skip(client):
45 if not client.supports_async:
46 # Use async error message as skip message
47 with pytest.raises(NotImplementedError) as e:
48 client.as_async()
49 pytest.skip(str(e.value))
50
51
52@pytest.fixture(scope="module")

Callers 1

async_clientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected