Skip to content

Commit e36f198

Browse files
committed
fix tests
1 parent 0d91aff commit e36f198

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,31 +1025,31 @@ def test_mi_sparse_column_names(self):
10251025
},
10261026
{
10271027
"class": "col_heading level1 col0",
1028-
"display_value": 1,
1028+
"display_value": "1",
10291029
"is_visible": True,
10301030
"type": "th",
10311031
"value": 1,
10321032
"attributes": "",
10331033
},
10341034
{
10351035
"class": "col_heading level1 col1",
1036-
"display_value": 0,
1036+
"display_value": "0",
10371037
"is_visible": True,
10381038
"type": "th",
10391039
"value": 0,
10401040
"attributes": "",
10411041
},
10421042
{
10431043
"class": "col_heading level1 col2",
1044-
"display_value": 1,
1044+
"display_value": "1",
10451045
"is_visible": True,
10461046
"type": "th",
10471047
"value": 1,
10481048
"attributes": "",
10491049
},
10501050
{
10511051
"class": "col_heading level1 col3",
1052-
"display_value": 0,
1052+
"display_value": "0",
10531053
"is_visible": True,
10541054
"type": "th",
10551055
"value": 0,
@@ -1147,7 +1147,7 @@ def test_hide_columns_index_mult_levels(self):
11471147
# column headers
11481148
assert ctx["head"][0][2]["is_visible"]
11491149
assert ctx["head"][1][2]["is_visible"]
1150-
assert ctx["head"][1][3]["display_value"] == 1
1150+
assert ctx["head"][1][3]["display_value"] == "1"
11511151
# indices
11521152
assert ctx["body"][0][0]["is_visible"]
11531153
# data

0 commit comments

Comments
 (0)