Skip to content

Commit 443780d

Browse files
Revert "Fix warning in unit test"
This reverts commit 002f1e0.
1 parent 9b9fff9 commit 443780d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/excel/test_openpyxl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_to_excel_with_openpyxl_engine(ext, tmpdir):
114114
df2 = DataFrame({"B": np.linspace(1, 20, 10)})
115115
df = pd.concat([df1, df2], axis=1)
116116
styled = df.style.applymap(
117-
lambda val: "color: %s" % ("red" if val < 0 else "black")
117+
lambda val: "color: %s" % "red" if val < 0 else "black"
118118
).highlight_max()
119119

120120
filename = tmpdir / "styled.xlsx"

0 commit comments

Comments
 (0)