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:168–176  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

166
167
168def test_special_chars_filename(tempdir):
169 table = pa.Table.from_arrays([pa.array([42])], ["ints"])
170 filename = "foo # bar"
171 path = tempdir / filename
172 assert not path.exists()
173 _write_table(table, str(path))
174 assert path.exists()
175 table_read = _read_table(str(path))
176 assert table_read.equals(table)
177
178
179def 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