(tempdir)
| 149 | |
| 150 | |
| 151 | def 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 | |
| 162 | def test_invalid_source(): |
nothing calls this directly
no test coverage detected