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

Function test_open_dataset_non_existing_file

python/pyarrow/tests/test_dataset.py:2819–2826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2817
2818
2819def test_open_dataset_non_existing_file():
2820 # ARROW-8213: Opening a dataset with a local incorrect path gives confusing
2821 # error message
2822 with pytest.raises(FileNotFoundError):
2823 ds.dataset('i-am-not-existing.arrow', format='ipc')
2824
2825 with pytest.raises(pa.ArrowInvalid, match='cannot be relative'):
2826 ds.dataset('file:i-am-not-existing.arrow', format='ipc')
2827
2828
2829@pytest.mark.parquet

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected