(table, path=None, compression=None)
| 111 | |
| 112 | |
| 113 | def _check_arrow_roundtrip(table, path=None, compression=None): |
| 114 | if path is None: |
| 115 | path = random_path() |
| 116 | |
| 117 | TEST_FILES.append(path) |
| 118 | write_feather(table, path, compression=compression) |
| 119 | if not os.path.exists(path): |
| 120 | raise Exception('file not written') |
| 121 | |
| 122 | result = read_table(path) |
| 123 | assert result.equals(table) |
| 124 | |
| 125 | |
| 126 | def _assert_error_on_write(df, exc, path=None, version=2): |
no test coverage detected