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

Function test_get_port

python/pyarrow/tests/test_flight.py:1347–1353  ·  view source on GitHub ↗

Make sure port() works.

()

Source from the content-addressed store, hash-verified

1345
1346
1347def test_get_port():
1348 """Make sure port() works."""
1349 server = GetInfoFlightServer("grpc://localhost:0")
1350 try:
1351 assert server.port > 0
1352 finally:
1353 server.shutdown()
1354
1355
1356@pytest.mark.skipif(os.name == 'nt',

Callers

nothing calls this directly

Calls 1

GetInfoFlightServerClass · 0.85

Tested by

no test coverage detected