(table, path=None, compression=None)
| 118 | |
| 119 | |
| 120 | def _check_arrow_roundtrip(table, path=None, compression=None): |
| 121 | if path is None: |
| 122 | path = random_path() |
| 123 | |
| 124 | TEST_FILES.append(path) |
| 125 | write_feather(table, path, compression=compression) |
| 126 | if not os.path.exists(path): |
| 127 | raise Exception('file not written') |
| 128 | |
| 129 | result = read_table(path) |
| 130 | assert result.equals(table) |
| 131 | |
| 132 | |
| 133 | def _assert_error_on_write(df, exc, path=None, version=2): |
no test coverage detected