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

Function test_special_chars_filename

python/pyarrow/tests/parquet/test_basic.py:151–159  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

149
150
151def test_special_chars_filename(tempdir):
152 table = pa.Table.from_arrays([pa.array([42])], ["ints"])
153 filename = "foo # bar"
154 path = tempdir / filename
155 assert not path.exists()
156 _write_table(table, str(path))
157 assert path.exists()
158 table_read = _read_table(str(path))
159 assert table_read.equals(table)
160
161
162def test_invalid_source():

Callers

nothing calls this directly

Calls 4

_write_tableFunction · 0.90
_read_tableFunction · 0.90
equalsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected