Skip to content

Commit 002f1e0

Browse files
Fix warning in unit test
1 parent 434b5ae commit 002f1e0

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)