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

Function test_flight_invalid_generator_stream

python/pyarrow/tests/test_flight.py:1550–1555  ·  view source on GitHub ↗

Try streaming data with mismatched schemas.

()

Source from the content-addressed store, hash-verified

1548
1549
1550def test_flight_invalid_generator_stream():
1551 """Try streaming data with mismatched schemas."""
1552 with InvalidStreamFlightServer() as server, \
1553 FlightClient(('localhost', server.port)) as client:
1554 with pytest.raises(pa.ArrowException):
1555 client.do_get(flight.Ticket(b'')).read_all()
1556
1557
1558def test_timeout_fires():

Callers

nothing calls this directly

Calls 3

FlightClientClass · 0.90
do_getMethod · 0.45

Tested by

no test coverage detected