File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
pandas/tests/io/formats/style Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -1193,15 +1193,13 @@ def test_hide_multiindex(self):
1193
1193
assert ctx1 ["body" ][0 ][0 ]["is_visible" ]
1194
1194
assert ctx1 ["body" ][0 ][1 ]["is_visible" ]
1195
1195
# check for blank header rows
1196
- print (ctx1 ["head" ][0 ])
1197
1196
assert len (ctx1 ["head" ][0 ]) == 4 # two visible indexes and two data columns
1198
1197
1199
1198
ctx2 = df .style .hide_index ()._translate (True , True )
1200
1199
# tests for 'a' and '0'
1201
1200
assert not ctx2 ["body" ][0 ][0 ]["is_visible" ]
1202
1201
assert not ctx2 ["body" ][0 ][1 ]["is_visible" ]
1203
1202
# check for blank header rows
1204
- print (ctx2 ["head" ][0 ])
1205
1203
assert len (ctx2 ["head" ][0 ]) == 3 # one hidden (col name) and two data columns
1206
1204
assert not ctx2 ["head" ][0 ][0 ]["is_visible" ]
1207
1205
You can’t perform that action at this time.
0 commit comments