Skip to content

Commit ecd01dd

Browse files
committed
fix recent merged tests
1 parent 9a7a8e4 commit ecd01dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def test_1level_multiindex():
408408
midx = MultiIndex.from_product([[1, 2]], names=[""])
409409
df = DataFrame(-1, index=midx, columns=[0, 1])
410410
ctx = df.style._translate(True, True)
411-
assert ctx["body"][0][0]["display_value"] == 1
411+
assert ctx["body"][0][0]["display_value"] == "1"
412412
assert ctx["body"][0][0]["is_visible"] is True
413-
assert ctx["body"][1][0]["display_value"] == 2
413+
assert ctx["body"][1][0]["display_value"] == "2"
414414
assert ctx["body"][1][0]["is_visible"] is True

0 commit comments

Comments
 (0)