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

Function test_flight_server_location_argument

python/pyarrow/tests/test_flight.py:1122–1130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1120
1121
1122def test_flight_server_location_argument():
1123 locations = [
1124 None,
1125 'grpc://localhost:0',
1126 ('localhost', find_free_port()),
1127 ]
1128 for location in locations:
1129 with FlightServerBase(location) as server:
1130 assert isinstance(server, FlightServerBase)
1131
1132
1133# The following tests are for GH-50684, which was a memory leak

Callers

nothing calls this directly

Calls 2

find_free_portFunction · 0.90
FlightServerBaseClass · 0.90

Tested by

no test coverage detected