Skip to content

Commit

Permalink
fix(core): Fix regressed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coroa committed May 20, 2024
1 parent c116807 commit 11f5506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,13 @@ def test_extractlevel_options(mdf):
def test_extractlevel_single(midx):
sidx = Index(["e|foo", "e|bar", "bar"])
assert_index_equal(
extractlevel(sidx, "{e}|{typ}", drop=True),
extractlevel(sidx, "{e}|{typ}"),
MultiIndex.from_arrays([["e", "e"], ["foo", "bar"]], names=["e", "typ"]),
)

sidx = Index(["e|foo", "e|bar", "bar"], name="named")
assert_index_equal(
extractlevel(sidx, "{e}|{typ}", drop=True),
extractlevel(sidx, "{e}|{typ}"),
MultiIndex.from_arrays([["e", "e"], ["foo", "bar"]], names=["e", "typ"]),
)

Expand Down

0 comments on commit 11f5506

Please sign in to comment.