Skip to content

Commit 2c701da

Browse files
roberthdevriesSeeminSyed
authored andcommitted
Fix warning in unit test (pandas-dev#32563)
1 parent da10345 commit 2c701da

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)