(fsspectest)
| 284 | |
| 285 | |
| 286 | def test_feather_options(fsspectest): |
| 287 | pytest.importorskip("pyarrow") |
| 288 | df = DataFrame({"a": [0]}) |
| 289 | df.to_feather("testmem://mockfile", storage_options={"test": "feather_write"}) |
| 290 | assert fsspectest.test[0] == "feather_write" |
| 291 | out = read_feather("testmem://mockfile", storage_options={"test": "feather_read"}) |
| 292 | assert fsspectest.test[0] == "feather_read" |
| 293 | tm.assert_frame_equal(df, out) |
| 294 | |
| 295 | |
| 296 | def test_pickle_options(fsspectest): |
nothing calls this directly
no test coverage detected