File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
pandas/tests/io/formats/style Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1025,31 +1025,31 @@ def test_mi_sparse_column_names(self):
1025
1025
},
1026
1026
{
1027
1027
"class" : "col_heading level1 col0" ,
1028
- "display_value" : 1 ,
1028
+ "display_value" : "1" ,
1029
1029
"is_visible" : True ,
1030
1030
"type" : "th" ,
1031
1031
"value" : 1 ,
1032
1032
"attributes" : "" ,
1033
1033
},
1034
1034
{
1035
1035
"class" : "col_heading level1 col1" ,
1036
- "display_value" : 0 ,
1036
+ "display_value" : "0" ,
1037
1037
"is_visible" : True ,
1038
1038
"type" : "th" ,
1039
1039
"value" : 0 ,
1040
1040
"attributes" : "" ,
1041
1041
},
1042
1042
{
1043
1043
"class" : "col_heading level1 col2" ,
1044
- "display_value" : 1 ,
1044
+ "display_value" : "1" ,
1045
1045
"is_visible" : True ,
1046
1046
"type" : "th" ,
1047
1047
"value" : 1 ,
1048
1048
"attributes" : "" ,
1049
1049
},
1050
1050
{
1051
1051
"class" : "col_heading level1 col3" ,
1052
- "display_value" : 0 ,
1052
+ "display_value" : "0" ,
1053
1053
"is_visible" : True ,
1054
1054
"type" : "th" ,
1055
1055
"value" : 0 ,
@@ -1147,7 +1147,7 @@ def test_hide_columns_index_mult_levels(self):
1147
1147
# column headers
1148
1148
assert ctx ["head" ][0 ][2 ]["is_visible" ]
1149
1149
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"
1151
1151
# indices
1152
1152
assert ctx ["body" ][0 ][0 ]["is_visible" ]
1153
1153
# data
You can’t perform that action at this time.
0 commit comments