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

Function test_location_invalid

python/pyarrow/tests/test_flight.py:1756–1762  ·  view source on GitHub ↗

Test constructing invalid URIs.

()

Source from the content-addressed store, hash-verified

1754
1755
1756def test_location_invalid():
1757 """Test constructing invalid URIs."""
1758 with pytest.raises(pa.ArrowInvalid, match=".*Cannot parse URI:.*"):
1759 flight.connect("%")
1760
1761 with pytest.raises(pa.ArrowInvalid, match=".*Cannot parse URI:.*"):
1762 ConstantFlightServer("%")
1763
1764
1765def test_location_unknown_scheme():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected