Test constructing invalid URIs.
()
| 1716 | |
| 1717 | |
| 1718 | def 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 | |
| 1727 | def test_location_unknown_scheme(): |
nothing calls this directly
no test coverage detected