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