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

Function test_invalid_source

python/pyarrow/tests/parquet/test_basic.py:179–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178
179def test_invalid_source():
180 # Test that we provide an helpful error message pointing out
181 # that None wasn't expected when trying to open a Parquet None file.
182 with pytest.raises(TypeError, match="None"):
183 pq.read_table(None)
184
185 with pytest.raises(TypeError, match="None"):
186 pq.ParquetFile(None)
187
188
189def test_read_table_without_dataset(tempdir):

Callers

nothing calls this directly

Calls 1

read_tableMethod · 0.45

Tested by

no test coverage detected