Skip to content

Remove SharedItems from test_excel #26579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 5, 2019
Merged
Prev Previous commit
Next Next commit
lint fixup
  • Loading branch information
WillAyd committed May 30, 2019
commit 02a3aeac8a1a50ced2990c44331dcbe52b18957d
4 changes: 3 additions & 1 deletion pandas/tests/io/test_excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from pandas.io.formats.excel import ExcelFormatter
from pandas.io.parsers import read_csv


@pytest.fixture
def frame(seriesd):
return DataFrame(seriesd)[:10]
Expand Down Expand Up @@ -1545,7 +1546,8 @@ def test_to_excel_multiindex_cols(self, merge_cells, engine, ext, frame):
frame.columns = [".".join(map(str, q)) for q in zip(*fm)]
tm.assert_frame_equal(frame, df)

def test_to_excel_multiindex_dates(self, merge_cells, engine, ext, tsframe):
def test_to_excel_multiindex_dates(
self, merge_cells, engine, ext, tsframe):
# try multiindex with dates
new_index = [tsframe.index, np.arange(len(tsframe.index))]
tsframe.index = MultiIndex.from_arrays(new_index)
Expand Down