Skip to content

Commit 99bbf96

Browse files
committed
add ordered param based on comments
1 parent 876b4bc commit 99bbf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexes/multi/test_setops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,8 @@ def test_intersection_lexsort_depth(levels1, levels2, codes1, codes2, names):
699699
@pytest.mark.parametrize(
700700
"b",
701701
[
702-
pd.Categorical(["a", "b"], categories=["b", "a"]),
703-
pd.Categorical(["a", "b"], categories=["b", "a"]),
702+
pd.Categorical(["a", "b"], categories=["b", "a"], ordered=True),
703+
pd.Categorical(["a", "b"], categories=["b", "a"], ordered=True),
704704
],
705705
)
706706
def test_intersection_with_non_lex_sorted_categories(a, b):

0 commit comments

Comments
 (0)