(tempdir)
| 166 | |
| 167 | |
| 168 | def 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 | |
| 179 | def test_invalid_source(): |
nothing calls this directly
no test coverage detected