Skip to content

Commit 1ad2aae

Browse files
committed
moar
1 parent 69c57f9 commit 1ad2aae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/util/testing.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,8 @@ def assert_panelnd_equal(left, right,
14391439
assert_index_equal(left_ind, right_ind, check_names=check_names)
14401440

14411441
if by_blocks:
1442-
with warnings.catch_warnings(record=True):
1443-
rblocks = right.blocks
1444-
lblocks = left.blocks
1442+
rblocks = right._to_dict_of_blocks()
1443+
lblocks = left._to_dict_of_blocks()
14451444
for dtype in list(set(list(lblocks.keys()) + list(rblocks.keys()))):
14461445
assert dtype in lblocks
14471446
assert dtype in rblocks

0 commit comments

Comments
 (0)