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

Function test_get_port

python/pyarrow/tests/test_flight.py:1385–1391  ·  view source on GitHub ↗

Make sure port() works.

()

Source from the content-addressed store, hash-verified

1383
1384
1385def test_get_port():
1386 """Make sure port() works."""
1387 server = GetInfoFlightServer("grpc://localhost:0")
1388 try:
1389 assert server.port > 0
1390 finally:
1391 server.shutdown()
1392
1393
1394@pytest.mark.skipif(os.name == 'nt',

Callers

nothing calls this directly

Calls 1

GetInfoFlightServerClass · 0.85

Tested by

no test coverage detected