Skip to content

Commit 0b703cd

Browse files
committed
eliminate redundant pytest parametrize
1 parent 8435700 commit 0b703cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/io/formats/style/test_to_latex.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,15 +1098,14 @@ def test_clines_multiindex(clines, expected, env):
10981098
),
10991099
],
11001100
)
1101-
@pytest.mark.parametrize("env", ["table"])
1102-
def test_clines_hiddenindex(clines, expected, env):
1101+
def test_clines_hiddenindex(clines, expected):
11031102
# Make sure that \clines are correctly hidden or shown with all indixes hidden
11041103
midx = MultiIndex.from_product([["A", "-", "B"], ["X", "Y"]])
11051104
df = DataFrame([[1], [2], [99], [99], [3], [4]], index=midx)
11061105
styler = df.style
11071106
styler.hide([("-", "X"), ("-", "Y")])
11081107
styler.hide(axis=0)
1109-
result = styler.to_latex(clines=clines, environment=env)
1108+
result = styler.to_latex(clines=clines, environment="table")
11101109
assert expected in result
11111110

11121111

0 commit comments

Comments
 (0)