Skip to content

Commit 5e82ee5

Browse files
amended MultiIndex union test and added swaplevel test
1 parent 2f5c338 commit 5e82ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/indexes/test_indexes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,8 +1632,8 @@ def test_multiindex_union() -> None:
16321632
pd.MultiIndex,
16331633
)
16341634
check(
1635-
assert_type(mi.union(pd.Index([("c", 3), ("d", 4)])), "pd.MultiIndex"),
1636-
pd.MultiIndex,
1635+
assert_type(mi.union(pd.Index([("c", 3), ("d", 4)])), "pd.Index"),
1636+
pd.Index,
16371637
)
16381638
check(
16391639
assert_type(mi.union([("c", 3), ("d", 4)]), "pd.MultiIndex"),

0 commit comments

Comments
 (0)