Skip to content

Commit 94aa1f9

Browse files
author
wdyy20041223
committed
TST: Add regression tests for enlarging MultiIndex with None keys (GH#59153)
1 parent 9f127a0 commit 94aa1f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexing/multiindex/test_setitem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ def test_setitem_enlargement_multiindex_multiple_none(self):
537537
("B", "b1"),
538538
(None, "c1"),
539539
("C", None),
540-
]
540+
],
541+
dtype="object"
541542
)
542543
expected = DataFrame(
543544
[[1, 2], [3, 4], [5, 6], [7, 8]],

0 commit comments

Comments
 (0)