(self, request, read_ext, engine, df_ref)
| 847 | tm.assert_frame_equal(result, expected) |
| 848 | |
| 849 | def test_sheet_name(self, request, read_ext, engine, df_ref): |
| 850 | xfail_datetimes_with_pyxlsb(engine, request) |
| 851 | |
| 852 | filename = "test1" |
| 853 | sheet_name = "Sheet1" |
| 854 | |
| 855 | expected = df_ref |
| 856 | adjust_expected(expected, read_ext, engine) |
| 857 | |
| 858 | df1 = pd.read_excel( |
| 859 | filename + read_ext, sheet_name=sheet_name, index_col=0 |
| 860 | ) # doc |
| 861 | df2 = pd.read_excel(filename + read_ext, index_col=0, sheet_name=sheet_name) |
| 862 | |
| 863 | tm.assert_frame_equal(df1, expected) |
| 864 | tm.assert_frame_equal(df2, expected) |
| 865 | |
| 866 | def test_excel_read_buffer(self, read_ext): |
| 867 | pth = "test1" + read_ext |
nothing calls this directly
no test coverage detected