(version)
| 568 | |
| 569 | @pytest.mark.pandas |
| 570 | def test_filelike_objects(version): |
| 571 | buf = io.BytesIO() |
| 572 | |
| 573 | # the copy makes it non-strided |
| 574 | df = pd.DataFrame(np.arange(12).reshape(4, 3), |
| 575 | columns=['a', 'b', 'c']).copy() |
| 576 | write_feather(df, buf, version=version) |
| 577 | |
| 578 | buf.seek(0) |
| 579 | |
| 580 | result = read_feather(buf) |
| 581 | assert_frame_equal(result, df) |
| 582 | |
| 583 | |
| 584 | @pytest.mark.pandas |
nothing calls this directly
no test coverage detected