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

Function test_location_invalid

python/pyarrow/tests/test_flight.py:1718–1724  ·  view source on GitHub ↗

Test constructing invalid URIs.

()

Source from the content-addressed store, hash-verified

1716
1717
1718def test_location_invalid():
1719 """Test constructing invalid URIs."""
1720 with pytest.raises(pa.ArrowInvalid, match=".*Cannot parse URI:.*"):
1721 flight.connect("%")
1722
1723 with pytest.raises(pa.ArrowInvalid, match=".*Cannot parse URI:.*"):
1724 ConstantFlightServer("%")
1725
1726
1727def test_location_unknown_scheme():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected