Skip to content

Commit

Permalink
Refactor test_to_html_multiindex to allow tests to collect
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Oct 28, 2023
1 parent 4ec19f5 commit 0dd702c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/tests/io/formats/test_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,15 +416,15 @@ def test_to_html_columns_arg(float_frame):
"columns,justify,expected",
[
(
MultiIndex.from_tuples(
list(zip(np.arange(2).repeat(2), np.mod(range(4), 2))),
MultiIndex.from_arrays(
[np.arange(2).repeat(2), np.mod(range(4), 2)],
names=["CL0", "CL1"],
),
"left",
"multiindex_1",
),
(
MultiIndex.from_tuples(list(zip(range(4), np.mod(range(4), 2)))),
MultiIndex.from_arrays([np.arange(4), np.mod(range(4), 2)]),
"right",
"multiindex_2",
),
Expand Down

0 comments on commit 0dd702c

Please sign in to comment.