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

Function test_socket_read_all

python/pyarrow/tests/test_ipc.py:946–952  ·  view source on GitHub ↗
(socket_fixture)

Source from the content-addressed store, hash-verified

944
945@pytest.mark.sockets
946def test_socket_read_all(socket_fixture):
947 socket_fixture.start_server(do_read_all=True)
948 writer_batches = socket_fixture.write_batches()
949 _, result = socket_fixture.stop_and_get_result()
950
951 expected = pa.Table.from_batches(writer_batches)
952 assert result.equals(expected)
953
954
955# ----------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

start_serverMethod · 0.80
write_batchesMethod · 0.80
stop_and_get_resultMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected